Defect #6713

Git: Not able to Resetting Redmine project respository

Added by Gareth Brown about 4 years ago. Updated over 3 years ago.

Status:NewStart date:2010-10-20
Priority:NormalDue date:
Assignee:Toshi MARUYAMA% Done:

0%

Category:SCM
Target version:-
Resolution: Affected version:

Description

I've got a problem with a project respository 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.

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


Related issues

Related to Defect #4725: Error displaying Project's Settings when repository confi... New 2010-02-03
Related to Feature #7517: Configurable path of executable for scm adapters Closed 2011-02-02
Related to Defect #8458: Subversion: Delete invalid repository fails using the lib... Closed 2011-05-29
Related to Feature #1406: Browse through Git branches Closed 2008-06-09
Related to Defect #8777: Mercurial: Not able to Resetting Redmine project respository Closed 2011-07-11

Associated revisions

Revision 6130
Added by Toshi MARUYAMA over 3 years ago

scm: return nil at model default_branch and override at git model (#8458, #6713).

Redmine Git and Mercurial adapter support branches.
Mercurial default branch is dafault.
But, it is popular to show all revisions on the top page for Mercurial GUI.

Revision 6220
Added by Toshi MARUYAMA over 3 years ago

scm: git: catch exception in model default_branch() (#8458, #6713).

Revision 6224
Added by Toshi MARUYAMA over 3 years ago

scm: subversion: add functional test of destroying valid repository (#8458, #6713, #4725).

Revision 6225
Added by Toshi MARUYAMA over 3 years ago

scm: subversion: add functional test of destroying invalid repository (#8458, #6713, #4725).

Revision 6230
Added by Toshi MARUYAMA over 3 years ago

scm: catch all exceptions at adapter shellout() to fork scm command (#8510, #6713, #4725, #5404).

If scm command does not exist,
Linux JRuby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException in production environment.

Revision 6233
Added by Toshi MARUYAMA over 3 years ago

scm: darcs: add functional test of destroying valid repository (#6713, #4725).

Revision 6234
Added by Toshi MARUYAMA over 3 years ago

scm: darcs: add functional test of destroying invalid repository (#6713, #4725).

Revision 6235
Added by Toshi MARUYAMA over 3 years ago

scm: bazaar: add functional test of destroying valid repository (#6713, #4725).

Revision 6236
Added by Toshi MARUYAMA over 3 years ago

scm: bazaar: add functional test of destroying invalid repository (#6713, #4725).

Revision 6238
Added by Toshi MARUYAMA over 3 years ago

scm: filesystem: add functional test of destroying valid repository (#6713, #4725).

Revision 6239
Added by Toshi MARUYAMA over 3 years ago

scm: filesystem: add functional test of destroying invalid repository (#6713, #4725).

Revision 6240
Added by Toshi MARUYAMA over 3 years ago

scm: cvs: add functional test of destroying valid repository (#6713, #4725).

Revision 6241
Added by Toshi MARUYAMA over 3 years ago

scm: cvs: add functional test of destroying invalid repository (#6713, #4725).

Revision 6243
Added by Toshi MARUYAMA over 3 years ago

scm: mercurial: add functional test of destroying valid repository (#8777, #6713, #4725).

Revision 6247
Added by Toshi MARUYAMA over 3 years ago

scm: mercurial: add functional test of destroying invalid repository (#8777, #6713, #4725).

Revision 6249
Added by Toshi MARUYAMA over 3 years ago

scm: git: add functional test of destroying valid repository (#6713, #4725).

Revision 6250
Added by Toshi MARUYAMA over 3 years ago

scm: git: add functional test of destroying invalid repository (#6713, #4725).

History

#1 Updated by Gareth Brown about 4 years ago

Error Message Recieved when trying to delete the invalid GIT repository setup;

An error occurred when trying to access the repository; No such file or directory - git --git-dir "-/" branch

#2 Updated by Jean-Baptiste Barth almost 4 years ago

Can you provide the exact error message, the eventual error in the logs, and the informations listed in SubmittingBugs ? Everything works fine on my installations when I try to delete repositories..

#3 Updated by Toshi MARUYAMA almost 4 years ago

  • Category set to SCM

#4 Updated by Suleyman Arslan over 3 years ago

i have same problem. Actually i don't have git on my system and i am not using git. By mistake i put some directory text on repository settings and save it. Now i am not able to delete repository settings.
When i click Delete button following message appear.
500
An error occurred when trying to access the repository: No such file or directory - git --git-dir "C:\Git-repository\.git/" branch --no-color

#5 Updated by Toshi MARUYAMA over 3 years ago

  • Subject changed from Not able to Resetting Redmine project respository to Git: Not able to Resetting Redmine project respository

#6 Updated by Toshi MARUYAMA over 3 years ago

  • Assignee set to Toshi MARUYAMA
  • Target version set to 1.3.0

#7 Updated by Toshi MARUYAMA over 3 years ago

  • Target version deleted (1.3.0)

Also available in: Atom PDF