aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/config
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-08-11 17:19:08 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-08-11 17:19:08 +0200
commit355824d7fbe20ff020cb2034ab143707f786accd (patch)
treeb966995f349ec1892574664ced9d3165e9c117d3 /rhodecode/config
parent4090ecefa2696d0e3a9108a6b07f9171dea28748 (diff)
fixed selecting quick compare view for tags/bookmarks in pull-request form
--HG-- branch : beta
Diffstat (limited to 'rhodecode/config')
-rw-r--r--rhodecode/config/routing.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/rhodecode/config/routing.py b/rhodecode/config/routing.py
index 2b90b0fd..09088fc3 100644
--- a/rhodecode/config/routing.py
+++ b/rhodecode/config/routing.py
@@ -435,8 +435,10 @@ def make_map(config):
'/{repo_name:.*?}/compare/{org_ref_type}@{org_ref}...{other_ref_type}@{other_ref}',
controller='compare', action='index',
conditions=dict(function=check_repo),
- requirements=dict(org_ref_type='(branch|book|tag|rev)',
- other_ref_type='(branch|book|tag|rev)'))
+ requirements=dict(
+ org_ref_type='(branch|book|tag|rev|org_ref_type)',
+ other_ref_type='(branch|book|tag|rev|other_ref_type)')
+ )
rmap.connect('pullrequest_home',
'/{repo_name:.*?}/pull-request/new', controller='pullrequests',