author | mpm@selenic.com |
Thu, 21 Jul 2005 12:40:28 -0500 | |
changeset 748 | c5df1a9c5276 |
parent 705 | 574869103985 |
child 749 | 7e4843b7efd2 |
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' |
|
485 | 7 |
+ hg clone . ../r2 |
8 |
+ cd ../r2 |
|
331 | 9 |
+ hg up |
10 |
+ echo abc |
|
11 |
+ hg diff |
|
12 |
+ sed 's/\(\(---\|+++\).*\)\t.*/\1/' |
|
396
8f8bb77d560e
Show revisions in diffs like CVS, based on a patch from Goffredo Baroncelli.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
388
diff
changeset
|
13 |
diff -r c19d34741b0a a |
331 | 14 |
--- a/a |
15 |
+++ b/a |
|
16 |
@@ -1,1 +1,1 @@ |
|
17 |
-a |
|
18 |
+abc |
|
19 |
+ cd ../r1 |
|
20 |
+ echo b |
|
21 |
+ echo a2 |
|
22 |
+ hg addremove |
|
23 |
+ hg commit -t 2 -u test -d '0 0' |
|
24 |
+ cd ../r2 |
|
25 |
+ hg -q pull ../r1 |
|
26 |
+ hg status |
|
748 | 27 |
M a |
591 | 28 |
+ hg --debug up |
331 | 29 |
resolving manifests |
677
204328d345f1
Fix up test for update flags
Matt Mackall <mpm@selenic.com>
parents:
676
diff
changeset
|
30 |
force None allow None moddirstate True linear True |
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 |
591 | 38 |
+ hg --debug up -m |
331 | 39 |
resolving manifests |
677
204328d345f1
Fix up test for update flags
Matt Mackall <mpm@selenic.com>
parents:
676
diff
changeset
|
40 |
force None allow 1 moddirstate True linear True |
374
f07d00fcd281
update tests to reflect new short hash length
mpm@selenic.com
parents:
350
diff
changeset
|
41 |
ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e |
331 | 42 |
+ hg parents |
43 |
changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
388
398737777644
Fixed tests for displaying tags in hg history and hg parents.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
382
diff
changeset
|
44 |
tag: tip |
331 | 45 |
user: test |
382
37249c522770
test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents:
377
diff
changeset
|
46 |
date: Thu Jan 1 00:00:00 1970 |
331 | 47 |
summary: 2 |
48 |
||
49 |
+ hg -v history |
|
50 |
changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
388
398737777644
Fixed tests for displaying tags in hg history and hg parents.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
382
diff
changeset
|
51 |
tag: tip |
331 | 52 |
manifest: 1:1165e8bd193e17ad7d321d846fcf27ff3f412758 |
53 |
user: test |
|
382
37249c522770
test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents:
377
diff
changeset
|
54 |
date: Thu Jan 1 00:00:00 1970 |
494
6020bde714e4
Fixed test for previous change of 'hg -v history'.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
490
diff
changeset
|
55 |
files: a b |
331 | 56 |
description: |
57 |
2 |
|
58 |
||
546
c8ae964109c1
Add an empty line after description in verbose mode of show_changeset.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
495
diff
changeset
|
59 |
|
331 | 60 |
changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e |
61 |
manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 |
|
62 |
user: test |
|
382
37249c522770
test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents:
377
diff
changeset
|
63 |
date: Thu Jan 1 00:00:00 1970 |
494
6020bde714e4
Fixed test for previous change of 'hg -v history'.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
490
diff
changeset
|
64 |
files: a |
331 | 65 |
description: |
66 |
1 |
|
67 |
||
546
c8ae964109c1
Add an empty line after description in verbose mode of show_changeset.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
495
diff
changeset
|
68 |
|
331 | 69 |
+ hg diff |
70 |
+ sed 's/\(\(---\|+++\).*\)\t.*/\1/' |
|
396
8f8bb77d560e
Show revisions in diffs like CVS, based on a patch from Goffredo Baroncelli.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
388
diff
changeset
|
71 |
diff -r 1e71731e6fbb a |
331 | 72 |
--- a/a |
73 |
+++ b/a |
|
74 |
@@ -1,1 +1,1 @@ |
|
75 |
-a2 |
|
76 |
+abc |