Menu

Commit [r9617]  Maximize  Restore  History

route: scm: fix git and mercurial changes action

If branch name has special character, "View revisions" link has route error.
For example, Redmine Mercurial hgsubversion mirror has "../sandbox/rails-3.2" named branch.

Git default branch of bare repository is defined at HEAD.
In most cases, it is *master*.
Mercurial GUI standard behavior is showing all revisions on top page.
So, Redmine default branch is *nil*.
Mercurial top page "View revisions" link has route error.

tmaruyama 2012-05-03

changed /trunk/config/routes.rb
changed /trunk/test/integration/routing/repositories_test.rb
/trunk/config/routes.rb Diff Switch to side-by-side view
Loading...
/trunk/test/integration/routing/repositories_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.