# HG changeset patch # User Brendan Cully # Date 1173576989 28800 # Node ID fc12ac3755d5f072f51de03ad58edb3cc9fde505 # Parent a2335e832e16ba07358ee734fbb8dabc9523da46 Test update to branch tip diff --git a/tests/test-newbranch b/tests/test-newbranch --- a/tests/test-newbranch +++ b/tests/test-newbranch @@ -63,3 +63,11 @@ except ValueError, inst: else: print "ValueError: %s" % inst EOF + +echo % update with no arguments: tipmost revision of the current branch +hg up -q -C 0 +hg up -q +hg id +hg up -q 1 +hg up -q +hg id diff --git a/tests/test-newbranch.out b/tests/test-newbranch.out --- a/tests/test-newbranch.out +++ b/tests/test-newbranch.out @@ -94,3 +94,6 @@ foo 4:4909a37 bar 2:67ec16bde7f1575d523313b9bca000f6a6f12dca % test old hg reading branch cache with feature list ValueError raised correctly, good. +% update with no arguments: tipmost revision of the current branch +bf1bc2f45e83 +4909a3732169 (foo) tip