重置Redmine项目存储库

发布于 2024-09-28 10:30:57 字数 663 浏览 3 评论 0原文

我在 Redmine 中的项目存储库设置有问题;我尝试使用 GIT 设置存储库,输入了无效的 GIT 路径,现在我陷入困境,因为我似乎无法删除已设置的路径。 alt text

单击删除会将我发送到下一页,指出以下内容; alt text

理想情况下,我想删除此存储库引用,并放入 SVN 存储库。我尝试通过在 Administration/Settings/Repositories 面板中取出 GIT,只留下 Subversion 来重新调整系统。但是,这对于项目卡住的 GIT 存储库设置没有任何作用。

我应该编辑什么文件来删除这些项目设置?我有点警惕,因为我不希望我的项目可能被损坏。

2010 年 10 月 26 日更新:我已提出 缺陷 #6713 Redmine项目

另外我在环境变量中缺少GIT系统变量,现在添加了以下内容,使我能够知道删除存储库 ;C:\msysgit\msysgit\cmd;C:\msysgit\msysgit\bin;

I've got a problem with a project repository setting in Redmine, in that; I've tried to set a repository with GIT, entered an invalid GIT path, and now I'm stuck as I can't seem to delete the path which has been set.
alt text

Clicking delete sends me to the next page, stating that the following;
alt text

Ideally I want to delete this repository reference, and put in a SVN repository instead. I've tried to rejig the system by taking out GIT in the Administration/Settings/Repositories panel, and leaving just Subversion. However, this does nothing for the project's stuck GIT repository setting.

What file should I edit to delete these project settings? I'm a bit wary, as I don't want my project potentially corrupted.

UPDATE 26/10/2010 : I've raised Defect #6713 with the Redmine project

Also I was missing GIT a system variable from the environmental variables, now added the following, enabling me to know delete the respository
;C:\msysgit\msysgit\cmd;C:\msysgit\msysgit\bin;

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

妄断弥空 2024-10-05 10:30:57

这可能是Redmine 中的一个错误。我刚刚查看了我的Redmine安装,找不到存储URL的位置,它可能在数据库中。如果我处于您的情况并且没有时间可以浪费,我会:
1)做好备份,以防万一,
2) 在某处创建一个空的 Git 存储库(甚至可以使用任何公共存储库,因为您可以在其中放置 URL),
3) 配置Redmine指向该存储库以摆脱困境,
4) 现在,配置 Redmine 以使用您真正的 Subversion 存储库,
5)报告错误。

This could be a bug in Redmine. I just looked through my Redmine installation and can't find the place where the URL is stored, it's probably in the database. If I were in your situation and didn't have time to waste, I would:
1) make a backup, just in case,
2) create an empty Git repository somewhere (or even take any public repo, since you can put an URL in there),
3) configure Redmine to point to that repository to get unstuck,
4) now, configure Redmine to use your real Subversion repo,
5) report bug.

空名 2024-10-05 10:30:57

该页面(存储库)上有一个删除按钮(右下角),您可以按下该按钮,然后您可以从头开始为存储库创建条目。

There is a delete button (right bottom) on that page (repository) which you can press and after that you can create the entry for the repository from scratch.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文