重置Redmine项目存储库
我在 Redmine 中的项目存储库设置有问题;我尝试使用 GIT 设置存储库,输入了无效的 GIT 路径,现在我陷入困境,因为我似乎无法删除已设置的路径。
单击删除会将我发送到下一页,指出以下内容;
理想情况下,我想删除此存储库引用,并放入 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.
Clicking delete sends me to the next page, stating that the following;
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这可能是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.
该页面(存储库)上有一个删除按钮(右下角),您可以按下该按钮,然后您可以从头开始为存储库创建条目。
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.