Cannot "switch to" branches that contain a slash

Issue #784 duplicate
Dennis Brakhane created an issue

The "switch to" command redirects the user to http://rhodecode/repo/files/XXX

When switching to tags or bookmarks, XXX is replaced with the changeset id, when switching to branches the branch name is used instead.

So, if I switch to a branch "foo/bar", Rhodecode actually tries to show me branch foo instead (which doesn't exist and results in a warning "Revision u'foo' does not exist for this repository")

While not a huge concern for hg repos, using slashes in branch names is pretty common in some Git workflows.

Comments (3)

  1. Log in to comment