Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-basic @ 724:1c0c413cccdd
Get add and locate to use new repo and dirstate walk code.
They use a walk function that abstracts out the irritating details, so
that there's a higher likelihood of commands behaving uniformly.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 18 Jul 2005 06:54:21 -0800 |
parents | 4fc63e22b1fe |
children | 7e4843b7efd2 |
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 |
331 | 2 |
3 set -x | |
4 mkdir t | |
5 cd t | |
6 hg init | |
7 echo a > a | |
8 hg add a | |
9 hg commit -t "test" -u test -d "0 0" | |
10 hg history | |
11 hg manifest | |
12 hg cat a | |
544
3d4d5f2aba9a
Remove bashisms and use /bin/sh instead of /bin/bash.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
350
diff
changeset
|
13 hg verify |