Files @ c78de39f30fc
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_changeset.py - annotation

Mads Kiilerich
summary: redirect from repo URLs with #branchname to changelog with this branch

This implements partial support for the Mercurial syntax for specifying
revisions so https://secure.rhodecode.org/rhodecode/#beta works both for
pulling with Mercurial and browsing.

This uses javascript, and has a bit of extra support for onhashchange in HTML5 browsers.
1
2
3
4
5
6
7
8
from rhodecode.tests import *

class TestChangesetController(TestController):

    def test_index(self):
        response = self.app.get(url(controller='changeset', action='index',
                                    repo_name=HG_REPO,revision='tip'))
        # Test response...