Mercurial > hg
annotate tests/test-undo @ 1488:08c7851969cc
only files in normal state should be marked as deleted
fix a traceback when you removed an added file
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 02 Nov 2005 16:08:48 -0800 |
parents | 0902ffece4b4 |
children | 7544700fd931 |
rev | line source |
---|---|
544
3d4d5f2aba9a
Remove bashisms and use /bin/sh instead of /bin/bash.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
350
diff
changeset
|
1 #!/bin/sh |
336 | 2 |
3 mkdir t | |
4 cd t | |
5 hg init | |
6 echo a > a | |
7 hg add a | |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
547
diff
changeset
|
8 hg commit -m "test" -d "0 0" |
336 | 9 hg verify |
10 hg parents | |
11 hg status | |
12 hg undo | |
13 hg verify | |
14 hg parents | |
15 hg status |