Show More
@@ -1,76 +1,78 b'' | |||
|
1 | 1 | + mkdir r1 |
|
2 | 2 | + cd r1 |
|
3 | 3 | + hg init |
|
4 | 4 | + echo a |
|
5 | 5 | + hg addremove |
|
6 | 6 | + hg commit -t 1 -u test -d '0 0' |
|
7 | 7 | + hg clone . ../r2 |
|
8 | 8 | + cd ../r2 |
|
9 | 9 | + hg up |
|
10 | 10 | + echo abc |
|
11 | 11 | + hg diff |
|
12 | 12 | + sed 's/\(\(---\|+++\).*\)\t.*/\1/' |
|
13 | 13 | diff -r c19d34741b0a a |
|
14 | 14 | --- a/a |
|
15 | 15 | +++ b/a |
|
16 | 16 | @@ -1,1 +1,1 @@ |
|
17 | 17 | -a |
|
18 | 18 | +abc |
|
19 | 19 | + cd ../r1 |
|
20 | 20 | + echo b |
|
21 | 21 | + echo a2 |
|
22 | 22 | + hg addremove |
|
23 | 23 | + hg commit -t 2 -u test -d '0 0' |
|
24 | 24 | + cd ../r2 |
|
25 | 25 | + hg -q pull ../r1 |
|
26 | 26 | + hg status |
|
27 | 27 | C a |
|
28 | 28 | + hg --debug up |
|
29 | 29 | resolving manifests |
|
30 | force None allow None moddirstate True linear True | |
|
30 | 31 | ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e |
|
31 | 32 | a versions differ, resolve |
|
32 | 33 | remote created b |
|
33 | 34 | getting b |
|
34 | 35 | merging a |
|
35 | 36 | resolving a |
|
36 | 37 | file a: other d730145abbf9 ancestor b789fdd96dc2 |
|
37 | 38 | + hg --debug up -m |
|
38 | 39 | resolving manifests |
|
40 | force None allow 1 moddirstate True linear True | |
|
39 | 41 | ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e |
|
40 | 42 | + hg parents |
|
41 | 43 | changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
42 | 44 | tag: tip |
|
43 | 45 | user: test |
|
44 | 46 | date: Thu Jan 1 00:00:00 1970 |
|
45 | 47 | summary: 2 |
|
46 | 48 | |
|
47 | 49 | + hg -v history |
|
48 | 50 | changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
49 | 51 | tag: tip |
|
50 | 52 | manifest: 1:1165e8bd193e17ad7d321d846fcf27ff3f412758 |
|
51 | 53 | user: test |
|
52 | 54 | date: Thu Jan 1 00:00:00 1970 |
|
53 | 55 | files: a b |
|
54 | 56 | description: |
|
55 | 57 | 2 |
|
56 | 58 | |
|
57 | 59 | |
|
58 | 60 | |
|
59 | 61 | changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e |
|
60 | 62 | manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 |
|
61 | 63 | user: test |
|
62 | 64 | date: Thu Jan 1 00:00:00 1970 |
|
63 | 65 | files: a |
|
64 | 66 | description: |
|
65 | 67 | 1 |
|
66 | 68 | |
|
67 | 69 | |
|
68 | 70 | |
|
69 | 71 | + hg diff |
|
70 | 72 | + sed 's/\(\(---\|+++\).*\)\t.*/\1/' |
|
71 | 73 | diff -r 1e71731e6fbb a |
|
72 | 74 | --- a/a |
|
73 | 75 | +++ b/a |
|
74 | 76 | @@ -1,1 +1,1 @@ |
|
75 | 77 | -a2 |
|
76 | 78 | +abc |
General Comments 0
You need to be logged in to leave comments.
Login now