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