diff options
Diffstat (limited to 'tests/test-url-rev.t')
-rw-r--r-- | tests/test-url-rev.t | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/test-url-rev.t b/tests/test-url-rev.t index 517b83b..f6b05c0 100644 --- a/tests/test-url-rev.t +++ b/tests/test-url-rev.t @@ -6,7 +6,6 @@ Test basic functionality of url#rev syntax $ hg ci -qAm 'add a' $ hg branch foo marked working directory as branch foo - (branches are permanent and global, did you want a bookmark?) $ echo >> a $ hg ci -m 'change a' $ cd .. @@ -42,7 +41,7 @@ Test basic functionality of url#rev syntax $ cat clone/.hg/hgrc [paths] - default = $TESTTMP/repo#foo (glob) + default = $TESTTMP/repo#foo Changing original repo: @@ -103,6 +102,7 @@ Changing original repo: $ cd clone $ hg rollback repository tip rolled back to revision 1 (undo push) + working directory now based on revision 1 $ hg -q incoming 2:faba9097cad4 @@ -147,6 +147,10 @@ No new revs, no update: $ hg rollback repository tip rolled back to revision 1 (undo pull) + working directory now based on revision 1 + + $ hg up -C 0 + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg parents -q 0:1f0dee641bb7 @@ -201,10 +205,4 @@ Pull -u takes us back to branch foo: date: Thu Jan 01 00:00:00 1970 +0000 summary: new head of branch foo -Test handling of invalid urls - $ hg id http://foo/?bar - abort: unsupported URL component: "bar" - [255] - - $ cd .. |