comparison tests/test-newbranch @ 4175:fc12ac3755d5

Test update to branch tip
author Brendan Cully <brendan@kublai.com>
date Sat, 10 Mar 2007 17:36:29 -0800
parents 0182cb2e4aac
children a7af0eeae8a3 aee3d312c32e
comparison
equal deleted inserted replaced
4174:a2335e832e16 4175:fc12ac3755d5
61 if str(inst) == "invalid literal for int():%s" % firstline: 61 if str(inst) == "invalid literal for int():%s" % firstline:
62 print "ValueError raised correctly, good." 62 print "ValueError raised correctly, good."
63 else: 63 else:
64 print "ValueError: %s" % inst 64 print "ValueError: %s" % inst
65 EOF 65 EOF
66
67 echo % update with no arguments: tipmost revision of the current branch
68 hg up -q -C 0
69 hg up -q
70 hg id
71 hg up -q 1
72 hg up -q
73 hg id