Show More
@@ -1,24 +1,46 | |||
|
1 | #!/bin/sh | |
|
1 | $ hg init | |
|
2 | 2 | |
|
3 | hg init | |
|
3 | $ mkdir alpha | |
|
4 | $ touch alpha/one | |
|
5 | $ mkdir beta | |
|
6 | $ touch beta/two | |
|
4 | 7 | |
|
5 | mkdir alpha | |
|
6 | touch alpha/one | |
|
7 | mkdir beta | |
|
8 | touch beta/two | |
|
8 | $ hg add alpha/one beta/two | |
|
9 | $ hg ci -m "start" | |
|
9 | 10 | |
|
10 | hg add alpha/one beta/two | |
|
11 | hg ci -m "start" -d "1000000 0" | |
|
11 | $ echo 1 > alpha/one | |
|
12 | $ echo 2 > beta/two | |
|
13 | ||
|
14 | everything | |
|
12 | 15 | |
|
13 | echo 1 > alpha/one | |
|
14 | echo 2 > beta/two | |
|
16 | $ hg diff --nodates | |
|
17 | diff -r 7d5ef1aea329 alpha/one | |
|
18 | --- a/alpha/one | |
|
19 | +++ b/alpha/one | |
|
20 | @@ -0,0 +1,1 @@ | |
|
21 | +1 | |
|
22 | diff -r 7d5ef1aea329 beta/two | |
|
23 | --- a/beta/two | |
|
24 | +++ b/beta/two | |
|
25 | @@ -0,0 +1,1 @@ | |
|
26 | +2 | |
|
15 | 27 | |
|
16 | echo EVERYTHING | |
|
17 | hg diff --nodates | |
|
28 | beta only | |
|
18 | 29 | |
|
19 | echo BETA ONLY | |
|
20 | hg diff --nodates beta | |
|
30 | $ hg diff --nodates beta | |
|
31 | diff -r 7d5ef1aea329 beta/two | |
|
32 | --- a/beta/two | |
|
33 | +++ b/beta/two | |
|
34 | @@ -0,0 +1,1 @@ | |
|
35 | +2 | |
|
36 | ||
|
37 | inside beta | |
|
21 | 38 | |
|
22 | echo INSIDE BETA | |
|
23 | cd beta | |
|
24 | hg diff --nodates . | |
|
39 | $ cd beta | |
|
40 | $ hg diff --nodates . | |
|
41 | diff -r 7d5ef1aea329 beta/two | |
|
42 | --- a/beta/two | |
|
43 | +++ b/beta/two | |
|
44 | @@ -0,0 +1,1 @@ | |
|
45 | +2 | |
|
46 |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now