简体   繁体   中英

Resetting Redmine project repository

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;

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM