author | Martin Geisler <mg@lazybytes.net> |
Sat, 14 Aug 2010 03:27:24 +0200 | |
changeset 11874 | a3c1234b3761 |
parent 6328 | tests/test-cat@991f7518c3f3 |
child 12070 | fddacca3202e |
permissions | -rw-r--r-- |
11874 | 1 |
$ mkdir t |
2 |
$ cd t |
|
3 |
$ hg init |
|
4 |
$ echo 0 > a |
|
5 |
$ echo 0 > b |
|
6 |
$ hg ci -A -m m -d "1000000 0" |
|
7 |
adding a |
|
8 |
adding b |
|
9 |
$ hg rm a |
|
10 |
$ hg cat a |
|
11 |
0 |
|
12 |
$ hg cat --decode a # more tests in test-encode |
|
13 |
0 |
|
14 |
$ echo 1 > b |
|
15 |
$ hg ci -m m -d "1000000 0" |
|
16 |
$ echo 2 > b |
|
17 |
$ hg cat -r 0 a |
|
18 |
0 |
|
19 |
$ hg cat -r 0 b |
|
20 |
0 |
|
21 |
$ hg cat -r 1 a |
|
22 |
a: No such file in rev 03f6b0774996 |
|
23 |
$ hg cat -r 1 b |
|
24 |
1 |