Mercurial > public > mercurial-scm > hg
comparison tests/test-hgweb-commands.t @ 19485:02c71f96eb6c stable
hgweb: always start graph with the revision in url
It is the same fix for graph command, as was recently for log. This makes the
specified revision be always on top of the graph view.
Before the patch, for example with repo having revisions 0, 1, 2, 3 and revision
in url being '2', all revisions were shown and the specified one wasn't
the first.
author | Alexander Plavin <me@aplavin.ru> |
---|---|
date | Thu, 25 Jul 2013 02:48:21 +0400 |
parents | a87d9102f7af |
children | b5e3f2b1d5e9 |
comparison
equal
deleted
inserted
replaced
19484:a987972de0e6 | 19485:02c71f96eb6c |
---|---|
1322 changeset: b60a39a85a01 | 1322 changeset: b60a39a85a01 |
1323 changeset: ada793dcc118 | 1323 changeset: ada793dcc118 |
1324 | 1324 |
1325 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \ | 1325 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \ |
1326 > 'graph/e06180cbfb0?style=raw&revcount=3' | grep changeset | 1326 > 'graph/e06180cbfb0?style=raw&revcount=3' | grep changeset |
1327 changeset: ab4f1438558b | |
1328 changeset: e06180cbfb0c | 1327 changeset: e06180cbfb0c |
1329 changeset: b4e73ffab476 | 1328 changeset: b4e73ffab476 |
1330 | 1329 |
1331 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \ | 1330 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \ |
1332 > 'graph/b4e73ffab47?style=raw&revcount=3' | grep changeset | 1331 > 'graph/b4e73ffab47?style=raw&revcount=3' | grep changeset |
1333 changeset: ab4f1438558b | |
1334 changeset: e06180cbfb0c | |
1335 changeset: b4e73ffab476 | 1332 changeset: b4e73ffab476 |
1336 | 1333 |
1337 $ cat errors.log | 1334 $ cat errors.log |
1338 | 1335 |
1339 bookmarks view doesn't choke on bookmarks on secret changesets (issue3774) | 1336 bookmarks view doesn't choke on bookmarks on secret changesets (issue3774) |