Mercurial > hg-stable
changeset 4175:fc12ac3755d5
Test update to branch tip
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sat, 10 Mar 2007 17:36:29 -0800 |
parents | a2335e832e16 |
children | f9bbcebcacea ba51a8225a60 6f9474044736 |
files | tests/test-newbranch tests/test-newbranch.out |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-newbranch Sat Mar 10 17:36:27 2007 -0800 +++ b/tests/test-newbranch Sat Mar 10 17:36:29 2007 -0800 @@ -63,3 +63,11 @@ 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
--- a/tests/test-newbranch.out Sat Mar 10 17:36:27 2007 -0800 +++ b/tests/test-newbranch.out Sat Mar 10 17:36:29 2007 -0800 @@ -94,3 +94,6 @@ 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