Mercurial > hg
annotate tests/test-undo @ 889:0a06d9d373c3
Add unit tests for walk code.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 12 Aug 2005 16:10:09 -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 |