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