Show More
@@ -1,18 +1,24 b'' | |||
|
1 | #!/bin/sh | |
|
2 | # | |
|
3 | mkdir t | |
|
4 | cd t | |
|
5 | hg init | |
|
6 | echo 0 > a | |
|
7 | echo 0 > b | |
|
8 | hg ci -A -m m -d "1000000 0" | |
|
9 | hg rm a | |
|
10 | hg cat a | |
|
11 | hg cat --decode a # more tests in test-encode | |
|
12 | echo 1 > b | |
|
13 | hg ci -m m -d "1000000 0" | |
|
14 |
|
|
|
15 | hg cat -r 0 a | |
|
16 | hg cat -r 0 b | |
|
17 |
hg cat -r |
|
|
18 | hg cat -r 1 b | |
|
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 |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now