Show More
@@ -1,17 +1,18 b'' | |||
|
1 | #!/bin/sh | |
|
2 | ||
|
3 | hg init | |
|
4 | echo a > a | |
|
5 | hg ci -Am t | |
|
1 | $ hg init | |
|
2 | $ echo a > a | |
|
3 | $ hg ci -Am t | |
|
4 | adding a | |
|
6 | 5 | |
|
7 | hg mv a b | |
|
8 | hg ci -Am t1 | |
|
9 | hg debugrename b | |
|
6 | $ hg mv a b | |
|
7 | $ hg ci -Am t1 | |
|
8 | $ hg debugrename b | |
|
9 | b renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 | |
|
10 | 10 | |
|
11 | hg mv b a | |
|
12 | hg ci -Am t2 | |
|
13 | hg debugrename a | |
|
11 | $ hg mv b a | |
|
12 | $ hg ci -Am t2 | |
|
13 | $ hg debugrename a | |
|
14 | a renamed from b:37d9b5d994eab34eda9c16b195ace52c7b129980 | |
|
14 | 15 | |
|
15 | echo % test with --rev | |
|
16 | hg debugrename --rev 1 b | |
|
16 | $ hg debugrename --rev 1 b | |
|
17 | b renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 | |
|
17 | 18 |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now