equal
deleted
inserted
replaced
|
1 #!/bin/sh |
|
2 |
|
3 hg init |
|
4 echo 123 > a |
|
5 hg add a |
|
6 hg commit -t "first" -u test -d "0 0" a |
|
7 mkdir sub |
|
8 echo 321 > sub/b |
|
9 hg add sub/b |
|
10 hg commit -t "second" -u test -d "0 0" sub/b |
|
11 cat sub/b |
|
12 hg co 0 |
|
13 cat sub/b |
|
14 ls sub |
|
15 |
|
16 true |