Defect #6890

Need to edit lib/redmine/scm/adapters/mercurial_adapter.rb on some servers

Added by Sam Kuper over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:2010-11-15
Priority:NormalDue date:
Assignee:-% Done:

0%

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

Description

I've been advised to report this as a bug by Ammler on the Redmine IRC.

In order to get Redmine to show Mercurial repositories, it is sometimes necessary to edit lib/redmine/scm/adapters/mercurial_adapter.rb as described here:

http://wiki.dreamhost.com/Redmine#Fixing_the_problems_in_browsing_a_Mercurial_repository

Apparently this is brittle, as lib/redmine/scm/adapters/mercurial_adapter.rb may be overwritten during Redmine upgrades.

In my own case, I've found that on Dreamhost, if I don't make the edit to lib/redmine/scm/adapters/mercurial_adapter.rb , then when I go to the "Repository" tab for my project in Redmine, I get an error that, "The entry or revision was not found in the repository."

History

#1 Updated by Toshi MARUYAMA over 8 years ago

  • Category set to SCM

#2 Updated by Toshi MARUYAMA over 8 years ago

  • Status changed from New to Closed

Svn trunk r4795 adds a feature of configurable path of executable for scm adapters (#7517).

Also available in: Atom PDF