author | mpm@selenic.com |
Wed, 15 Jun 2005 21:13:49 -0800 | |
changeset 377 | e5d769afd3ef |
parent 374 | f07d00fcd281 |
parent 350 | b4e0e20646bb |
child 382 | 37249c522770 |
permissions | -rw-r--r-- |
331 | 1 |
+ mkdir r1 |
2 |
+ cd r1 |
|
3 |
+ hg init |
|
4 |
+ echo a |
|
5 |
+ hg addremove |
|
6 |
+ hg commit -t 1 -u test -d '0 0' |
|
7 |
+ cd .. |
|
8 |
+ mkdir r2 |
|
9 |
+ cd r2 |
|
10 |
+ hg init ../r1 |
|
11 |
+ hg up |
|
12 |
+ echo abc |
|
13 |
+ hg diff |
|
14 |
+ sed 's/\(\(---\|+++\).*\)\t.*/\1/' |
|
15 |
--- a/a |
|
16 |
+++ b/a |
|
17 |
@@ -1,1 +1,1 @@ |
|
18 |
-a |
|
19 |
+abc |
|
20 |
+ cd ../r1 |
|
21 |
+ echo b |
|
22 |
+ echo a2 |
|
23 |
+ hg addremove |
|
24 |
+ hg commit -t 2 -u test -d '0 0' |
|
25 |
+ cd ../r2 |
|
26 |
+ hg -q pull ../r1 |
|
27 |
+ hg status |
|
28 |
C a |
|
29 |
+ hg -d up |
|
30 |
resolving manifests |
|
374
f07d00fcd281
update tests to reflect new short hash length
mpm@selenic.com
parents:
350
diff
changeset
|
31 |
ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e |
331 | 32 |
a versions differ, resolve |
33 |
remote created b |
|
34 |
getting b |
|
35 |
merging a |
|
36 |
resolving a |
|
374
f07d00fcd281
update tests to reflect new short hash length
mpm@selenic.com
parents:
350
diff
changeset
|
37 |
file a: other d730145abbf9 ancestor b789fdd96dc2 |
331 | 38 |
+ hg -d up -m |
39 |
resolving manifests |
|
374
f07d00fcd281
update tests to reflect new short hash length
mpm@selenic.com
parents:
350
diff
changeset
|
40 |
ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e |
331 | 41 |
+ hg parents |
42 |
changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
43 |
user: test |
|
44 |
date: Wed Dec 31 16:00:00 1969 |
|
45 |
summary: 2 |
|
46 |
||
47 |
+ hg -v history |
|
48 |
changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
49 |
manifest: 1:1165e8bd193e17ad7d321d846fcf27ff3f412758 |
|
50 |
user: test |
|
51 |
date: Wed Dec 31 16:00:00 1969 |
|
52 |
files: a b |
|
53 |
description: |
|
54 |
2 |
|
55 |
||
56 |
changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e |
|
57 |
manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 |
|
58 |
user: test |
|
59 |
date: Wed Dec 31 16:00:00 1969 |
|
60 |
files: a |
|
61 |
description: |
|
62 |
1 |
|
63 |
||
64 |
+ hg diff |
|
65 |
+ sed 's/\(\(---\|+++\).*\)\t.*/\1/' |
|
66 |
--- a/a |
|
67 |
+++ b/a |
|
68 |
@@ -1,1 +1,1 @@ |
|
69 |
-a2 |
|
70 |
+abc |