Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-undo @ 1120:df25ee778ac2
Handle a nonexistent repository with a 404 error.
Based on changeset 62ea868cafbfa3acb7e5dba6982ecb46a1637246 from
Vincent Wagelaar <vincent@ricardis.tudelft.nl>
in http://hannibal.lr-s.tudelft.nl/~vincent/fcgi
author | Ollivier Robert <roberto@keltia.freenix.fr> |
---|---|
date | Sat, 27 Aug 2005 23:43:08 -0700 |
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 |