author | Matt Mackall <mpm@selenic.com> |
Mon, 26 Sep 2005 14:01:18 -0700 | |
changeset 1350 | 3729e2773cca |
parent 814 | 0902ffece4b4 |
child 1926 | ba198d17eea9 |
permissions | -rwxr-xr-x |
578 | 1 |
#!/bin/sh |
2 |
||
3 |
hg init |
|
4 |
echo 123 > a |
|
5 |
hg add a |
|
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
578
diff
changeset
|
6 |
hg commit -m "first" -d "0 0" a |
578 | 7 |
mkdir sub |
8 |
echo 321 > sub/b |
|
9 |
hg add sub/b |
|
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
578
diff
changeset
|
10 |
hg commit -m "second" -d "0 0" sub/b |
578 | 11 |
cat sub/b |
12 |
hg co 0 |
|
13 |
cat sub/b |
|
14 |
ls sub |
|
15 |
||
16 |
true |