diff --git a/rhodecode/templates/compare/compare_diff.html b/rhodecode/templates/compare/compare_diff.html
--- a/rhodecode/templates/compare/compare_diff.html
+++ b/rhodecode/templates/compare/compare_diff.html
@@ -2,7 +2,7 @@
<%inherit file="/base/base.html"/>
<%def name="title()">
- ${c.repo_name} ${_('Compare')} ${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} -> ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)}
+ ${c.repo_name} ${_('Compare')} ${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} -> ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)}
%def>
<%def name="breadcrumbs_links()">
@@ -28,7 +28,7 @@
diff --git a/rhodecode/tests/functional/test_compare.py b/rhodecode/tests/functional/test_compare.py
--- a/rhodecode/tests/functional/test_compare.py
+++ b/rhodecode/tests/functional/test_compare.py
@@ -98,7 +98,7 @@ class TestCompareController(TestControll
))
try:
- response.mustcontain('%s@%s -> %s@%s' % (repo2.repo_name, rev1, repo1.repo_name, rev2))
+ response.mustcontain('%s@%s -> %s@%s' % (repo2.repo_name, rev1, repo1.repo_name, rev2))
response.mustcontain("""Showing 2 commits""")
response.mustcontain("""1 file changed with 2 insertions and 0 deletions""")
@@ -156,7 +156,7 @@ class TestCompareController(TestControll
))
try:
- response.mustcontain('%s@%s -> %s@%s' % (repo2.repo_name, rev1, repo1.repo_name, rev2))
+ response.mustcontain('%s@%s -> %s@%s' % (repo2.repo_name, rev1, repo1.repo_name, rev2))
response.mustcontain("""Showing 2 commits""")
response.mustcontain("""1 file changed with 2 insertions and 0 deletions""")
@@ -191,7 +191,7 @@ class TestCompareController(TestControll
# ))
#
# try:
-# response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, rev1, HG_FORK, rev2))
+# response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, rev1, HG_FORK, rev2))
# ## outgoing changesets between those revisions
#
# response.mustcontain("""r4:2dda4e345fac""" % (HG_REPO))
@@ -226,7 +226,7 @@ class TestCompareController(TestControll
# ))
#
# try:
-# response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, rev1, HG_FORK, rev2))
+# response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, rev1, HG_FORK, rev2))
# ## outgoing changesets between those revisions
#
# response.mustcontain("""r4:2dda4e345fac""" % (HG_REPO))
@@ -312,7 +312,7 @@ class TestCompareController(TestControll
# ))
#
# try:
-# #response.mustcontain('%s@%s -> %s@%s' % (r2_name, rev1, r1_name, rev2))
+# #response.mustcontain('%s@%s -> %s@%s' % (r2_name, rev1, r1_name, rev2))
#
# #add new commit into parent !
# cs0 = ScmModel().create_node(
@@ -336,7 +336,7 @@ class TestCompareController(TestControll
# bundle=False
# ))
#
-# response.mustcontain('%s@%s -> %s@%s' % (r2_name, rev1, r1_name, rev2))
+# response.mustcontain('%s@%s -> %s@%s' % (r2_name, rev1, r1_name, rev2))
# response.mustcontain("""file1-line1-from-fork""")
# response.mustcontain("""file2-line1-from-fork""")
# response.mustcontain("""file3-line1-from-fork""")
diff --git a/rhodecode/tests/functional/test_compare_local.py b/rhodecode/tests/functional/test_compare_local.py
--- a/rhodecode/tests/functional/test_compare_local.py
+++ b/rhodecode/tests/functional/test_compare_local.py
@@ -19,7 +19,7 @@ class TestCompareController(TestControll
other_ref_type="tag",
other_ref=tag2,
))
- response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, tag1, HG_REPO, tag2))
+ response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, tag1, HG_REPO, tag2))
## outgoing changesets between tags
response.mustcontain('''r112:c5ddebc06eaa''' % HG_REPO)
response.mustcontain('''r115:70d4cef8a376''' % HG_REPO)
@@ -56,7 +56,7 @@ class TestCompareController(TestControll
other_ref=tag2,
bundle=False
))
- response.mustcontain('%s@%s -> %s@%s' % (GIT_REPO, tag1, GIT_REPO, tag2))
+ response.mustcontain('%s@%s -> %s@%s' % (GIT_REPO, tag1, GIT_REPO, tag2))
## outgoing changesets between tags
response.mustcontain('''r113:794bbdd31545''' % GIT_REPO)
@@ -92,7 +92,7 @@ class TestCompareController(TestControll
other_ref='default',
))
- response.mustcontain('%s@default -> %s@default' % (HG_REPO, HG_REPO))
+ response.mustcontain('%s@default -> %s@default' % (HG_REPO, HG_REPO))
# branch are equal
response.mustcontain('No files')
response.mustcontain('No changesets')
@@ -107,7 +107,7 @@ class TestCompareController(TestControll
other_ref='master',
))
- response.mustcontain('%s@master -> %s@master' % (GIT_REPO, GIT_REPO))
+ response.mustcontain('%s@master -> %s@master' % (GIT_REPO, GIT_REPO))
# branch are equal
response.mustcontain('No files')
response.mustcontain('No changesets')
@@ -124,7 +124,7 @@ class TestCompareController(TestControll
other_ref_type="rev",
other_ref=rev2,
))
- response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, rev1, HG_REPO, rev2))
+ response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, rev1, HG_REPO, rev2))
## outgoing changesets between those revisions
response.mustcontain("""r1:%s""" % (HG_REPO, rev2))
@@ -144,7 +144,7 @@ class TestCompareController(TestControll
other_ref_type="rev",
other_ref=rev2,
))
- response.mustcontain('%s@%s -> %s@%s' % (GIT_REPO, rev1, GIT_REPO, rev2))
+ response.mustcontain('%s@%s -> %s@%s' % (GIT_REPO, rev1, GIT_REPO, rev2))
## outgoing changesets between those revisions
response.mustcontain("""r1:%s""" % (GIT_REPO, rev2[:12]))
response.mustcontain('1 file changed with 7 insertions and 0 deletions')