##// END OF EJS Templates
Updated output of tests.
Thomas Arendsen Hein -
r801:1f9ec150 default
parent child Browse files
Show More
@@ -1,12 +1,8 b''
1 + hg init
1 + hg init
2 + echo This is file a1
3 + hg add a
2 + hg add a
4 + hg commit -m 'commit #0' -d '0 0'
3 + hg commit -m commit #0 -d 0 0
5 + ls
6 a
4 a
7 + echo This is file b1
8 + hg add b
5 + hg add b
9 + hg commit -m 'commit #1' -d '0 0'
6 + hg commit -m commit #1 -d 0 0
10 + hg co 0
7 + hg co 0
11 + ls
12 a
8 a
@@ -1,15 +1,9 b''
1 + hg clone http://localhost:20059/ copy
1 + hg clone http://localhost:20059/ copy
2 requesting all changes
2 requesting all changes
3 abort: error: Connection refused
3 abort: error: Connection refused
4 + echo 255
5 255
4 255
6 + ls copy
7 ls: copy: No such file or directory
5 ls: copy: No such file or directory
8 + cat
9 + set +x
10 + hg clone http://localhost:20059/foo copy2
6 + hg clone http://localhost:20059/foo copy2
11 requesting all changes
7 requesting all changes
12 abort: HTTP Error 404: File not found
8 abort: HTTP Error 404: File not found
13 + echo 255
14 255
9 255
15 + set +x
@@ -1,23 +1,20 b''
1 + mkdir t
2 + cd t
3 + hg init
1 + hg init
4 + echo a
5 + hg add a
2 + hg add a
6 + hg commit -m test -d '0 0'
3 + hg commit -m test -d 0 0
7 + hg history
4 + hg history
8 changeset: 0:acb14030fe0a
5 changeset: 0:acb14030fe0a
9 tag: tip
6 tag: tip
10 user: test
7 user: test
11 date: Thu Jan 1 00:00:00 1970
8 date: Thu Jan 1 00:00:00 1970
12 summary: test
9 summary: test
13
10
14 + hg manifest
11 + hg manifest
15 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a
12 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a
16 + hg cat a
13 + hg cat a
17 a
14 a
18 + hg verify
15 + hg verify
19 checking changesets
16 checking changesets
20 checking manifests
17 checking manifests
21 crosschecking files in changesets and manifests
18 crosschecking files in changesets and manifests
22 checking files
19 checking files
23 1 files, 1 changesets, 1 total revisions
20 1 files, 1 changesets, 1 total revisions
@@ -1,39 +1,20 b''
1 + hg clone a b
1 + hg clone a b
2 abort: repository a/.hg not found!
2 abort: repository a/.hg not found!
3 + echo 255
4 255
3 255
5 + hg clone http://127.0.0.1:3121/a b
4 + hg clone http://127.0.0.1:3121/a b
6 requesting all changes
5 requesting all changes
7 abort: error: Connection refused
6 abort: error: Connection refused
8 + echo 255
9 255
7 255
10 + rm -rf b
11 + mkdir a
12 + chmod 000 a
13 + hg clone a b
8 + hg clone a b
14 abort: repository a/.hg not found!
9 abort: repository a/.hg not found!
15 + echo 255
16 255
10 255
17 + mkdir b
18 + cd b
19 + hg init
11 + hg init
20 + hg clone . ../a
12 + hg clone . ../a
21 abort: destination '../a' already exists
13 abort: destination '../a' already exists
22 + echo 1
23 1
14 1
24 + cd ..
25 + chmod 700 a
26 + rm -rf a b
27 + mkfifo a
28 + hg clone a b
15 + hg clone a b
29 abort: repository a/.hg not found!
16 abort: repository a/.hg not found!
30 + echo 255
31 255
17 255
32 + rm a
33 + mkdir q
34 + cd q
35 + hg init
18 + hg init
36 + cd ..
37 + hg clone q
19 + hg clone q
38 abort: destination 'q' already exists
20 abort: destination 'q' already exists
39 + true
@@ -1,32 +1,22 b''
1 + mkdir a
2 + cd a
3 + hg init
1 + hg init
4 + echo a
5 + hg add a
2 + hg add a
6 + hg commit -m test -d '0 0'
3 + hg commit -m test -d 0 0
7 + hg clone . ../b
4 + hg clone . ../b
8 + cd ../b
9 + cat a
10 a
5 a
11 + hg verify
6 + hg verify
12 checking changesets
7 checking changesets
13 checking manifests
8 checking manifests
14 crosschecking files in changesets and manifests
9 crosschecking files in changesets and manifests
15 checking files
10 checking files
16 1 files, 1 changesets, 1 total revisions
11 1 files, 1 changesets, 1 total revisions
17 + hg clone -U . ../c
12 + hg clone -U . ../c
18 + cd ../c
19 + cat a
20 cat: a: No such file or directory
13 cat: a: No such file or directory
21 + hg verify
14 + hg verify
22 checking changesets
15 checking changesets
23 checking manifests
16 checking manifests
24 crosschecking files in changesets and manifests
17 crosschecking files in changesets and manifests
25 checking files
18 checking files
26 1 files, 1 changesets, 1 total revisions
19 1 files, 1 changesets, 1 total revisions
27 + mkdir ../d
28 + cd ../d
29 + hg clone ../a
20 + hg clone ../a
30 + cd a
31 + hg cat a
21 + hg cat a
32 a
22 a
@@ -1,24 +1,17 b''
1 + hg init
1 + hg init
2 + echo nothing
3 + hg add a
2 + hg add a
4 + hg commit -m ancestor -d '0 0'
3 + hg commit -m ancestor -d 0 0
5 + echo something
4 + hg commit -m branch1 -d 0 0
6 + hg commit -m branch1 -d '0 0'
7 + hg co 0
5 + hg co 0
8 + echo 'something else'
6 + hg commit -m branch2 -d 0 0
9 + hg commit -m branch2 -d '0 0'
10 + export HGMERGE=merge
11 + HGMERGE=merge
12 + hg up -m 1
7 + hg up -m 1
13 merge: warning: conflicts during merge
8 merge: warning: conflicts during merge
14 merging a
9 merging a
15 merging a failed!
10 merging a failed!
16 + hg id
11 + hg id
17 32e80765d7fe+75234512624c+ tip
12 32e80765d7fe+75234512624c+ tip
18 + grep -Ev '>>>|<<<' a
19 something else
13 something else
20 =======
14 =======
21 something
15 something
22 + hg status
16 + hg status
23 M a
17 M a
24 ? .out
@@ -1,51 +1,37 b''
1 + hg init
1 + hg init
2 + echo a
3 + hg add a
2 + hg add a
4 + hg commit -m 1 -d '0 0'
3 + hg commit -m 1 -d 0 0
5 + hg status
4 + hg status
6 ? .out
7 + cp a b
8 + hg copy a b
5 + hg copy a b
9 + hg status
6 + hg status
10 A b
7 A b
11 ? .out
8 + hg --debug commit -m 2 -d 0 0
12 + hg --debug commit -m 2 -d '0 0'
13 b
9 b
14 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
10 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
15 + hg history
11 + hg history
16 changeset: 1:3b5b84850bbe
12 changeset: 1:3b5b84850bbe
17 tag: tip
13 tag: tip
18 user: test
14 user: test
19 date: Thu Jan 1 00:00:00 1970
15 date: Thu Jan 1 00:00:00 1970
20 summary: 2
16 summary: 2
21
17
22 changeset: 0:c19d34741b0a
18 changeset: 0:c19d34741b0a
23 user: test
19 user: test
24 date: Thu Jan 1 00:00:00 1970
20 date: Thu Jan 1 00:00:00 1970
25 summary: 1
21 summary: 1
26
22
27 + hg log a
23 + hg log a
28 changeset: 0:c19d34741b0a
24 changeset: 0:c19d34741b0a
29 user: test
25 user: test
30 date: Thu Jan 1 00:00:00 1970
26 date: Thu Jan 1 00:00:00 1970
31 summary: 1
27 summary: 1
32
28
33 + hexdump -C .hg/data/b.d
29 566e338d09a089ba737c21e0d3759980 .hg/data/b.d
34 00000000 75 01 0a 63 6f 70 79 72 65 76 3a 20 62 37 38 39 |u..copyrev: b789|
30 3268d2f51b2d2d423ff01b59eb6fbb14 bsum
35 00000010 66 64 64 39 36 64 63 32 66 33 62 64 32 32 39 63 |fdd96dc2f3bd229c|
31 70909ca2ecf494c71e9184b445e040ee asum
36 00000020 31 64 64 38 65 65 64 66 30 66 63 36 30 65 32 62 |1dd8eedf0fc60e2b|
37 00000030 36 38 65 33 0a 63 6f 70 79 3a 20 61 0a 01 0a 61 |68e3.copy: a...a|
38 00000040 0a |.|
39 00000041
40 + hg cat b
41 + md5sum bsum
42 60b725f10c9c85c70d97880dfe8191b3 bsum
43 + hg cat a
44 + md5sum asum
45 60b725f10c9c85c70d97880dfe8191b3 asum
46 + hg verify
32 + hg verify
47 checking changesets
33 checking changesets
48 checking manifests
34 checking manifests
49 crosschecking files in changesets and manifests
35 crosschecking files in changesets and manifests
50 checking files
36 checking files
51 2 files, 2 changesets, 2 total revisions
37 2 files, 2 changesets, 2 total revisions
@@ -1,10 +1,16 b''
1 + hg init
2 + hg add a
3 + hg ci -m a -d 0 0
4 + hg add b
5 + hg diff
1 diff -r 3903775176ed b
6 diff -r 3903775176ed b
2 --- /dev/null
7 --- /dev/null
3 +++ b/b
8 +++ b/b
4 @@ -0,0 +1,1 @@
9 @@ -0,0 +1,1 @@
5 +123
10 +123
11 + hg diff -r tip
6 diff -r 3903775176ed b
12 diff -r 3903775176ed b
7 --- /dev/null
13 --- /dev/null
8 +++ b/b
14 +++ b/b
9 @@ -0,0 +1,1 @@
15 @@ -0,0 +1,1 @@
10 +123
16 +123
@@ -1,3 +1,9 b''
1 + hg init
2 + hg add a
3 + hg commit -m first -d 0 0 a
4 + hg add sub/b
5 + hg commit -m second -d 0 0 sub/b
1 321
6 321
7 + hg co 0
2 cat: sub/b: No such file or directory
8 cat: sub/b: No such file or directory
3 ls: sub: No such file or directory
9 ls: sub: No such file or directory
@@ -1,72 +1,60 b''
1 + umask 027
2 + mkdir test1
3 + cd test1
4 + hg init
1 + hg init
5 + touch a b
6 + hg add a b
2 + hg add a b
7 + hg ci -m 'added a b' -d '0 0'
3 + hg ci -m added a b -d 0 0
8 + cd ..
9 + mkdir test2
10 + cd test2
11 + hg init
4 + hg init
12 + hg pull ../test1
5 + hg pull ../test1
13 pulling from ../test1
6 pulling from ../test1
14 requesting all changes
7 requesting all changes
15 adding changesets
8 adding changesets
16 adding manifests
9 adding manifests
17 adding file changes
10 adding file changes
18 added 1 changesets with 2 changes to 2 files
11 added 1 changesets with 2 changes to 2 files
19 (run 'hg update' to get a working copy)
12 (run 'hg update' to get a working copy)
20 + hg co
13 + hg co
21 + chmod +x a
14 + hg ci -m chmod +x a -d 0 0
22 + hg ci -m 'chmod +x a' -d '0 0'
15 + hg ci -m a updated -d 0 0
23 + cd ../test1
24 + echo 123
25 + hg ci -m 'a updated' -d '0 0'
26 + hg pull ../test2
16 + hg pull ../test2
27 pulling from ../test2
17 pulling from ../test2
28 searching for changes
18 searching for changes
29 adding changesets
19 adding changesets
30 adding manifests
20 adding manifests
31 adding file changes
21 adding file changes
32 added 1 changesets with 1 changes to 1 files
22 added 1 changesets with 1 changes to 1 files
33 (run 'hg update' to get a working copy)
23 (run 'hg update' to get a working copy)
34 + hg heads
24 + hg heads
35 changeset: 2:3ef543305655
25 changeset: 2:3ef543305655
36 tag: tip
26 tag: tip
37 parent: 0:22a449e20da5
27 parent: 0:22a449e20da5
38 user: test
28 user: test
39 date: Thu Jan 1 00:00:00 1970
29 date: Thu Jan 1 00:00:00 1970
40 summary: chmod +x a
30 summary: chmod +x a
41
31
42 changeset: 1:c6ecefc45368
32 changeset: 1:c6ecefc45368
43 user: test
33 user: test
44 date: Thu Jan 1 00:00:00 1970
34 date: Thu Jan 1 00:00:00 1970
45 summary: a updated
35 summary: a updated
46
36
47 + hg history
37 + hg history
48 changeset: 2:3ef543305655
38 changeset: 2:3ef543305655
49 tag: tip
39 tag: tip
50 parent: 0:22a449e20da5
40 parent: 0:22a449e20da5
51 user: test
41 user: test
52 date: Thu Jan 1 00:00:00 1970
42 date: Thu Jan 1 00:00:00 1970
53 summary: chmod +x a
43 summary: chmod +x a
54
44
55 changeset: 1:c6ecefc45368
45 changeset: 1:c6ecefc45368
56 user: test
46 user: test
57 date: Thu Jan 1 00:00:00 1970
47 date: Thu Jan 1 00:00:00 1970
58 summary: a updated
48 summary: a updated
59
49
60 changeset: 0:22a449e20da5
50 changeset: 0:22a449e20da5
61 user: test
51 user: test
62 date: Thu Jan 1 00:00:00 1970
52 date: Thu Jan 1 00:00:00 1970
63 summary: added a b
53 summary: added a b
64
54
65 + hg -v co -m
55 + hg -v co -m
66 resolving manifests
56 resolving manifests
67 merging a
57 merging a
68 resolving a
58 resolving a
69 + ls -l ../test1/a ../test2/a
70 + cut -b 0-10
71 -rwxr-x---
59 -rwxr-x---
72 -rwxr-x---
60 -rwxr-x---
@@ -1,81 +1,88 b''
1 + hg help
1 basic hg commands (use "hg help -v" for more):
2 basic hg commands (use "hg help -v" for more):
2
3
3 add add the specified files on the next commit
4 add add the specified files on the next commit
4 annotate show changeset information per file line
5 annotate show changeset information per file line
5 clone make a copy of an existing repository
6 clone make a copy of an existing repository
6 commit commit the specified files or all outstanding changes
7 commit commit the specified files or all outstanding changes
7 diff diff working directory (or selected files)
8 diff diff working directory (or selected files)
8 export dump the header and diffs for one or more changesets
9 export dump the header and diffs for one or more changesets
9 init create a new repository in the current directory
10 init create a new repository in the current directory
10 log show the revision history of the repository or a single file
11 log show the revision history of the repository or a single file
11 pull pull changes from the specified source
12 pull pull changes from the specified source
12 push push changes to the specified destination
13 push push changes to the specified destination
13 remove remove the specified files on the next commit
14 remove remove the specified files on the next commit
14 revert revert modified files or dirs back to their unmodified states
15 revert revert modified files or dirs back to their unmodified states
15 serve export the repository via HTTP
16 serve export the repository via HTTP
16 status show changed files in the working directory
17 status show changed files in the working directory
17 update update or merge working directory
18 update update or merge working directory
19 + hg -q help
18 basic hg commands (use "hg help -v" for more):
20 basic hg commands (use "hg help -v" for more):
19
21
20 add add the specified files on the next commit
22 add add the specified files on the next commit
21 annotate show changeset information per file line
23 annotate show changeset information per file line
22 clone make a copy of an existing repository
24 clone make a copy of an existing repository
23 commit commit the specified files or all outstanding changes
25 commit commit the specified files or all outstanding changes
24 diff diff working directory (or selected files)
26 diff diff working directory (or selected files)
25 export dump the header and diffs for one or more changesets
27 export dump the header and diffs for one or more changesets
26 init create a new repository in the current directory
28 init create a new repository in the current directory
27 log show the revision history of the repository or a single file
29 log show the revision history of the repository or a single file
28 pull pull changes from the specified source
30 pull pull changes from the specified source
29 push push changes to the specified destination
31 push push changes to the specified destination
30 remove remove the specified files on the next commit
32 remove remove the specified files on the next commit
31 revert revert modified files or dirs back to their unmodified states
33 revert revert modified files or dirs back to their unmodified states
32 serve export the repository via HTTP
34 serve export the repository via HTTP
33 status show changed files in the working directory
35 status show changed files in the working directory
34 update update or merge working directory
36 update update or merge working directory
37 + hg add -h
35 hg add: option -h not recognized
38 hg add: option -h not recognized
36 hg add [FILE]...
39 hg add [FILE]...
37
40
38 -I --include
41 -I --include
39 include path in search
42 include path in search
40 -X --exclude
43 -X --exclude
41 exclude path from search
44 exclude path from search
42
45
43 add the specified files on the next commit
46 add the specified files on the next commit
47 + hg add --skjdfks
44 hg add: option --skjdfks not recognized
48 hg add: option --skjdfks not recognized
45 hg add [FILE]...
49 hg add [FILE]...
46
50
47 -I --include
51 -I --include
48 include path in search
52 include path in search
49 -X --exclude
53 -X --exclude
50 exclude path from search
54 exclude path from search
51
55
52 add the specified files on the next commit
56 add the specified files on the next commit
57 + hg help diff
53 hg diff [-r REV1 [-r REV2]] [FILE]...
58 hg diff [-r REV1 [-r REV2]] [FILE]...
54
59
55 -r --rev
60 -r --rev
56 revision
61 revision
57 -I --include
62 -I --include
58 include path in search
63 include path in search
59 -X --exclude
64 -X --exclude
60 exclude path from search
65 exclude path from search
61
66
62 diff working directory (or selected files)
67 diff working directory (or selected files)
68 + hg help foo
63 hg: unknown command foo
69 hg: unknown command foo
70 + hg -q commands
64 hg: unknown command 'commands'
71 hg: unknown command 'commands'
65 basic hg commands (use "hg help -v" for more):
72 basic hg commands (use "hg help -v" for more):
66
73
67 add add the specified files on the next commit
74 add add the specified files on the next commit
68 annotate show changeset information per file line
75 annotate show changeset information per file line
69 clone make a copy of an existing repository
76 clone make a copy of an existing repository
70 commit commit the specified files or all outstanding changes
77 commit commit the specified files or all outstanding changes
71 diff diff working directory (or selected files)
78 diff diff working directory (or selected files)
72 export dump the header and diffs for one or more changesets
79 export dump the header and diffs for one or more changesets
73 init create a new repository in the current directory
80 init create a new repository in the current directory
74 log show the revision history of the repository or a single file
81 log show the revision history of the repository or a single file
75 pull pull changes from the specified source
82 pull pull changes from the specified source
76 push push changes to the specified destination
83 push push changes to the specified destination
77 remove remove the specified files on the next commit
84 remove remove the specified files on the next commit
78 revert revert modified files or dirs back to their unmodified states
85 revert revert modified files or dirs back to their unmodified states
79 serve export the repository via HTTP
86 serve export the repository via HTTP
80 status show changed files in the working directory
87 status show changed files in the working directory
81 update update or merge working directory
88 update update or merge working directory
@@ -1,9 +1,5 b''
1 + hg init
1 + hg init
2 + echo '[hooks]'
3 + echo 'precommit = echo precommit hook'
4 + echo 'commit = echo commit hook: $NODE'
5 + echo a
6 + hg add a
2 + hg add a
7 + hg commit -m test -d '0 0'
3 + hg commit -m test -d 0 0
8 precommit hook
4 precommit hook
9 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376
5 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376
@@ -1,10 +1,12 b''
1 + hg init
2 + hg serve --stdio
1 0
3 0
2 0
4 0
3 adding changesets
5 adding changesets
4 killed!
6 killed!
5 transaction abort!
7 transaction abort!
6 rollback completed
8 rollback completed
7 00changelog.d
9 00changelog.d
8 00changelog.i
10 00changelog.i
9 data
11 data
10 journal.dirstate
12 journal.dirstate
@@ -1,56 +1,46 b''
1 + mkdir t
2 + cd t
3 + hg init
1 + hg init
4 + echo 'added file1'
5 + echo 'added file2'
6 + hg add file1 file2
2 + hg add file1 file2
7 + hg commit -m 'added file1 and file2' -d '0 0' -u user
3 + hg commit -m added file1 and file2 -d 0 0 -u user
8 + echo 'changed file1'
4 + hg commit -m changed file1 -d 0 0 -u user
9 + hg commit -m 'changed file1' -d '0 0' -u user
10 + hg -q log
5 + hg -q log
11 1:3aa14bbc23d90e3f8b5b639b4a43d76509bae76c
6 1:3aa14bbc23d90e3f8b5b639b4a43d76509bae76c
12 0:8633637036c18f021d771208e16ae3508ab81d28
7 0:8633637036c18f021d771208e16ae3508ab81d28
13 + hg id
8 + hg id
14 3aa14bbc23d9 tip
9 3aa14bbc23d9 tip
15 + hg update -C 0
10 + hg update -C 0
16 + hg id
11 + hg id
17 8633637036c1
12 8633637036c1
18 + echo 'changed file1'
19 + hg id
13 + hg id
20 8633637036c1+
14 8633637036c1+
21 + hg revert
15 + hg revert
22 + hg diff
16 + hg diff
23 + hg status
17 + hg status
24 + hg id
18 + hg id
25 8633637036c1
19 8633637036c1
26 + hg update
20 + hg update
27 + hg diff
21 + hg diff
28 + hg status
22 + hg status
29 + hg id
23 + hg id
30 3aa14bbc23d9 tip
24 3aa14bbc23d9 tip
31 + hg update -C 0
25 + hg update -C 0
32 + echo 'changed file1'
33 + HGMERGE=merge
34 + hg update
26 + hg update
35 merging file1
27 merging file1
36 + hg diff
28 + hg diff
37 + hg status
29 + hg status
38 + hg id
30 + hg id
39 3aa14bbc23d9 tip
31 3aa14bbc23d9 tip
40 + hg revert
32 + hg revert
41 + hg diff
33 + hg diff
42 + hg status
34 + hg status
43 + hg id
35 + hg id
44 3aa14bbc23d9 tip
36 3aa14bbc23d9 tip
45 + hg revert -r tip
37 + hg revert -r tip
46 + hg diff
38 + hg diff
47 + hg status
39 + hg status
48 + hg id
40 + hg id
49 3aa14bbc23d9 tip
41 3aa14bbc23d9 tip
50 + hg update -C
42 + hg update -C
51 + hg diff
43 + hg diff
52 + hg status
44 + hg status
53 + hg id
45 + hg id
54 3aa14bbc23d9 tip
46 3aa14bbc23d9 tip
55 + cd ..
56 + /bin/rm -rf t
@@ -1,70 +1,59 b''
1 + mkdir t
2 + cd t
3 + hg init
1 + hg init
4 + echo 'added file1'
5 + echo 'added file2'
6 + hg add file1 file2
2 + hg add file1 file2
7 + hg commit -m 'added file1 and file2' -d '0 0' -u user
3 + hg commit -m added file1 and file2 -d 0 0 -u user
8 + echo 'changed file1'
4 + hg commit -m changed file1 -d 0 0 -u user
9 + hg commit -m 'changed file1' -d '0 0' -u user
10 + hg -q log
5 + hg -q log
11 1:3aa14bbc23d90e3f8b5b639b4a43d76509bae76c
6 1:3aa14bbc23d90e3f8b5b639b4a43d76509bae76c
12 0:8633637036c18f021d771208e16ae3508ab81d28
7 0:8633637036c18f021d771208e16ae3508ab81d28
13 + hg id
8 + hg id
14 3aa14bbc23d9 tip
9 3aa14bbc23d9 tip
15 + hg update -C 0
10 + hg update -C 0
16 + hg id
11 + hg id
17 8633637036c1
12 8633637036c1
18 + echo 'changed file1'
19 + hg id
13 + hg id
20 8633637036c1+
14 8633637036c1+
21 + hg revert
15 + hg revert
22 + hg diff
16 + hg diff
23 + hg status
17 + hg status
24 + hg id
18 + hg id
25 8633637036c1
19 8633637036c1
26 + hg update
20 + hg update
27 + hg diff
21 + hg diff
28 + hg status
22 + hg status
29 + hg id
23 + hg id
30 3aa14bbc23d9 tip
24 3aa14bbc23d9 tip
31 + hg update -C 0
25 + hg update -C 0
32 + echo 'changed file1 different'
33 + HGMERGE=merge
34 + hg update
26 + hg update
35 merge: warning: conflicts during merge
27 merge: warning: conflicts during merge
36 merging file1
28 merging file1
37 merging file1 failed!
29 merging file1 failed!
38 + hg diff
30 + hg diff
39 + sed -e 's/\(\(---\|+++\).*\)\t.*/\1/' -e 's/\(<<<<<<<\|>>>>>>>\) .*/\1/'
40 diff -r 3aa14bbc23d9 file1
31 diff -r 3aa14bbc23d9 file1
41 --- a/file1
32 --- a/file1
42 +++ b/file1
33 +++ b/file1
43 @@ -1,2 +1,6 @@
34 @@ -1,2 +1,6 @@
44 added file1
35 added file1
45 +<<<<<<<
36 +<<<<<<<
46 +changed file1 different
37 +changed file1 different
47 +=======
38 +=======
48 changed file1
39 changed file1
49 +>>>>>>>
40 +>>>>>>>
50 + hg status
41 + hg status
51 M file1
42 M file1
52 + hg id
43 + hg id
53 3aa14bbc23d9+ tip
44 3aa14bbc23d9+ tip
54 + hg revert
45 + hg revert
55 + hg diff
46 + hg diff
56 + hg status
47 + hg status
57 + hg id
48 + hg id
58 3aa14bbc23d9 tip
49 3aa14bbc23d9 tip
59 + hg revert -r tip
50 + hg revert -r tip
60 + hg diff
51 + hg diff
61 + hg status
52 + hg status
62 + hg id
53 + hg id
63 3aa14bbc23d9 tip
54 3aa14bbc23d9 tip
64 + hg update -C
55 + hg update -C
65 + hg diff
56 + hg diff
66 + hg status
57 + hg status
67 + hg id
58 + hg id
68 3aa14bbc23d9 tip
59 3aa14bbc23d9 tip
69 + cd ..
70 + /bin/rm -rf t
@@ -1,82 +1,45 b''
1 + cat
2 + chmod +x merge
3 + mkdir t
4 + cd t
5 + hg init
1 + hg init
6 + echo This is file a1
7 + hg add a
2 + hg add a
8 + hg commit -m 'commit #0' -d '0 0'
3 + hg commit -m commit #0 -d 0 0
9 + echo This is file b1
10 + hg add b
4 + hg add b
11 + hg commit -m 'commit #1' -d '0 0'
5 + hg commit -m commit #1 -d 0 0
12 + hg update 0
6 + hg update 0
13 + echo This is file c1
14 + hg add c
7 + hg add c
15 + hg commit -m 'commit #2' -d '0 0'
8 + hg commit -m commit #2 -d 0 0
16 + echo This is file b1
9 + hg update -m 1
17 + env HGMERGE=../merge hg update -m 1
18 + cd ..
19 + /bin/rm -rf t
20 + mkdir t
21 + cd t
22 + hg init
10 + hg init
23 + echo This is file a1
24 + hg add a
11 + hg add a
25 + hg commit -m 'commit #0' -d '0 0'
12 + hg commit -m commit #0 -d 0 0
26 + echo This is file b1
27 + hg add b
13 + hg add b
28 + hg commit -m 'commit #1' -d '0 0'
14 + hg commit -m commit #1 -d 0 0
29 + hg update 0
15 + hg update 0
30 + echo This is file c1
31 + hg add c
16 + hg add c
32 + hg commit -m 'commit #2' -d '0 0'
17 + hg commit -m commit #2 -d 0 0
33 + echo This is file b2
18 + hg update -m 1
34 + env HGMERGE=../merge hg update -m 1
35 merging for b
19 merging for b
36 merging b
20 merging b
37 + cd ..
38 + /bin/rm -rf t
39 + mkdir t
40 + cd t
41 + hg init
21 + hg init
42 + echo This is file a1
43 + hg add a
22 + hg add a
44 + hg commit -m 'commit #0' -d '0 0'
23 + hg commit -m commit #0 -d 0 0
45 + echo This is file b1
46 + hg add b
24 + hg add b
47 + hg commit -m 'commit #1' -d '0 0'
25 + hg commit -m commit #1 -d 0 0
48 + echo This is file b22
26 + hg commit -m commit #2 -d 0 0
49 + hg commit -m 'commit #2' -d '0 0'
50 + hg update 1
27 + hg update 1
51 + echo This is file c1
52 + hg add c
28 + hg add c
53 + hg commit -m 'commit #3' -d '0 0'
29 + hg commit -m commit #3 -d 0 0
54 + cat b
55 This is file b1
30 This is file b1
56 + echo This is file b22
31 + hg update -m 2
57 + env HGMERGE=../merge hg update -m 2
58 merging for b
32 merging for b
59 merging b
33 merging b
60 + cd ..
61 + /bin/rm -rf t
62 + mkdir t
63 + cd t
64 + hg init
34 + hg init
65 + echo This is file a1
66 + hg add a
35 + hg add a
67 + hg commit -m 'commit #0' -d '0 0'
36 + hg commit -m commit #0 -d 0 0
68 + echo This is file b1
69 + hg add b
37 + hg add b
70 + hg commit -m 'commit #1' -d '0 0'
38 + hg commit -m commit #1 -d 0 0
71 + echo This is file b22
39 + hg commit -m commit #2 -d 0 0
72 + hg commit -m 'commit #2' -d '0 0'
73 + hg update 1
40 + hg update 1
74 + echo This is file c1
75 + hg add c
41 + hg add c
76 + hg commit -m 'commit #3' -d '0 0'
42 + hg commit -m commit #3 -d 0 0
77 + echo This is file b33
43 + hg update -m 2
78 + env HGMERGE=../merge hg update -m 2
79 merging for b
44 merging for b
80 merging b
45 merging b
81 + cd ..
82 + /bin/rm -rf t
@@ -1,49 +1,25 b''
1 + mkdir t
2 + cd t
3 + hg init
1 + hg init
4 + echo This is file a1
5 + hg add a
2 + hg add a
6 + hg commit -m 'commit #0' -d '0 0'
3 + hg commit -m commit #0 -d 0 0
7 + echo This is file b1
8 + hg add b
4 + hg add b
9 + hg commit -m 'commit #1' -d '0 0'
5 + hg commit -m commit #1 -d 0 0
10 + rm b
11 + hg update 0
6 + hg update 0
12 + echo This is file b2
13 + hg add b
7 + hg add b
14 + hg commit -m 'commit #2' -d '0 0'
8 + hg commit -m commit #2 -d 0 0
15 + cd ..
16 + /bin/rm -rf t
17 + mkdir t
18 + cd t
19 + hg init
9 + hg init
20 + echo This is file a1
21 + hg add a
10 + hg add a
22 + hg commit -m 'commit #0' -d '0 0'
11 + hg commit -m commit #0 -d 0 0
23 + echo This is file b1
24 + hg add b
12 + hg add b
25 + hg commit -m 'commit #1' -d '0 0'
13 + hg commit -m commit #1 -d 0 0
26 + rm b
27 + hg update 0
14 + hg update 0
28 + echo This is file b2
15 + hg commit -A -m commit #2 -d 0 0
29 + hg commit -A -m 'commit #2' -d '0 0'
30 adding b
16 adding b
31 + cd ..
32 + /bin/rm -rf t
33 + mkdir t
34 + cd t
35 + hg init
17 + hg init
36 + echo This is file a1
37 + hg add a
18 + hg add a
38 + hg commit -m 'commit #0' -d '0 0'
19 + hg commit -m commit #0 -d 0 0
39 + echo This is file b1
40 + hg add b
20 + hg add b
41 + hg commit -m 'commit #1' -d '0 0'
21 + hg commit -m commit #1 -d 0 0
42 + rm b
43 + hg remove b
22 + hg remove b
44 + hg update 0
23 + hg update 0
45 + echo This is file b2
24 + hg commit -A -m commit #2 -d 0 0
46 + hg commit -A -m 'commit #2' -d '0 0'
47 adding b
25 adding b
48 + cd ..
49 + /bin/rm -rf t
@@ -1,11 +1,8 b''
1 + hg init
1 + hg init
2 + echo This is file a1
3 + hg add a
2 + hg add a
4 + hg commit -m 'commit #0' -d '0 0'
3 + hg commit -m commit #0 -d 0 0
5 + touch b
6 + hg add b
4 + hg add b
7 + rm b
5 + hg commit -A -mcomment #1 -d 0 0
8 + hg commit -A '-mcomment #1' -d '0 0'
9 adding .out
10 removing b
6 removing b
11 b never committed!
7 b never committed!
8 nothing changed
@@ -1,15 +1,10 b''
1 + hg init
1 + hg init
2 + echo This is file a1
3 + hg add a
2 + hg add a
4 + hg commit -m 'commit #0' -d '0 0'
3 + hg commit -m commit #0 -d 0 0
5 + echo This is file b1
6 + hg add b
4 + hg add b
7 + hg commit -m 'commit #1' -d '0 0'
5 + hg commit -m commit #1 -d 0 0
8 + hg update 0
6 + hg update 0
9 + echo This is file c1
10 + hg add c
7 + hg add c
11 + hg commit -m 'commit #2' -d '0 0'
8 + hg commit -m commit #2 -d 0 0
12 + hg update -m 1
9 + hg update -m 1
13 + rm b
10 + hg commit -m commit #3 -d 0 0
14 + echo This is file c22
15 + hg commit -m 'commit #3' -d '0 0'
@@ -1,20 +1,12 b''
1 + mkdir t
2 + cd t
3 + hg init
1 + hg init
4 + echo This is file a1
5 + echo This is file b1
6 + hg add a b
2 + hg add a b
7 + hg commit -m 'commit #0' -d '0 0'
3 + hg commit -m commit #0 -d 0 0
8 + echo This is file b22
4 + hg commit -mcomment #1 -d 0 0
9 + hg commit '-mcomment #1' -d '0 0'
10 + hg update 0
5 + hg update 0
11 + rm b
6 + hg commit -A -mcomment #2 -d 0 0
12 + hg commit -A '-mcomment #2' -d '0 0'
13 removing b
7 removing b
14 + yes k
15 + hg update 1
8 + hg update 1
16 this update spans a branch affecting the following files:
9 this update spans a branch affecting the following files:
17 b
10 b
18 aborting update spanning branches!
11 aborting update spanning branches!
19 (use update -m to perform a branch merge)
12 (use update -m to perform a branch merge)
20 + exit 0
@@ -1,53 +1,35 b''
1 + cat
2 + chmod +x merge
3 + export HGMERGE=./merge
4 + HGMERGE=./merge
5 + mkdir A1
6 + cd A1
7 + hg init
1 + hg init
8 + echo This is file foo1
9 + echo This is file bar1
10 + hg add foo bar
2 + hg add foo bar
11 + hg commit -m 'commit text' -d '0 0'
3 + hg commit -m commit text -d 0 0
12 + cd ..
13 + hg clone A1 B1
4 + hg clone A1 B1
14 + cd A1
15 + rm bar
16 + hg remove bar
5 + hg remove bar
17 + hg commit -m 'commit test' -d '0 0'
6 + hg commit -m commit test -d 0 0
18 + cd ../B1
7 + hg commit -m commit test -d 0 0
19 + echo This is file foo22
20 + hg commit -m 'commit test' -d '0 0'
21 + cd ..
22 + hg clone A1 A2
8 + hg clone A1 A2
23 + hg clone B1 B2
9 + hg clone B1 B2
24 + cd A1
25 + hg pull ../B1
10 + hg pull ../B1
26 pulling from ../B1
11 pulling from ../B1
27 searching for changes
12 searching for changes
28 adding changesets
13 adding changesets
29 adding manifests
14 adding manifests
30 adding file changes
15 adding file changes
31 added 1 changesets with 1 changes to 1 files
16 added 1 changesets with 1 changes to 1 files
32 (run 'hg update' to get a working copy)
17 (run 'hg update' to get a working copy)
33 + hg update -m
18 + hg update -m
34 + hg commit -m 'commit test' -d '0 0'
19 + hg commit -m commit test -d 0 0
35 + echo bar should remain deleted.
36 bar should remain deleted.
20 bar should remain deleted.
37 + hg manifest
21 + hg manifest
38 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo
22 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo
39 + cd ../B2
40 + hg pull ../A2
23 + hg pull ../A2
41 pulling from ../A2
24 pulling from ../A2
42 searching for changes
25 searching for changes
43 adding changesets
26 adding changesets
44 adding manifests
27 adding manifests
45 adding file changes
28 adding file changes
46 added 1 changesets with 0 changes to 0 files
29 added 1 changesets with 0 changes to 0 files
47 (run 'hg update' to get a working copy)
30 (run 'hg update' to get a working copy)
48 + hg update -m
31 + hg update -m
49 + hg commit -m 'commit test' -d '0 0'
32 + hg commit -m commit test -d 0 0
50 + echo bar should remain deleted.
51 bar should remain deleted.
33 bar should remain deleted.
52 + hg manifest
34 + hg manifest
53 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo
35 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo
@@ -1,22 +1,31 b''
1 + hg init
2 + hg addremove
1 adding foo
3 adding foo
4 + hg commit -m 1
5 + hg verify
2 checking changesets
6 checking changesets
3 checking manifests
7 checking manifests
4 crosschecking files in changesets and manifests
8 crosschecking files in changesets and manifests
5 checking files
9 checking files
6 1 files, 1 changesets, 1 total revisions
10 1 files, 1 changesets, 1 total revisions
11 + hg clone http://localhost:20059/ copy
7 requesting all changes
12 requesting all changes
8 adding changesets
13 adding changesets
9 adding manifests
14 adding manifests
10 adding file changes
15 adding file changes
11 added 1 changesets with 1 changes to 1 files
16 added 1 changesets with 1 changes to 1 files
17 + hg verify
12 checking changesets
18 checking changesets
13 checking manifests
19 checking manifests
14 crosschecking files in changesets and manifests
20 crosschecking files in changesets and manifests
15 checking files
21 checking files
16 1 files, 1 changesets, 1 total revisions
22 1 files, 1 changesets, 1 total revisions
23 + hg co
17 foo
24 foo
25 + hg manifest
18 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo
26 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo
27 + hg pull
19 pulling from http://localhost:20059/
28 pulling from http://localhost:20059/
20 searching for changes
29 searching for changes
21 no changes found
30 no changes found
22 killed!
31 killed!
@@ -1,83 +1,77 b''
1 + hg --debug init
1 + hg --debug init
2 + echo this is a1
3 + hg add a
2 + hg add a
4 + hg commit -m0 -d '0 0'
3 + hg commit -m0 -d 0 0
5 + echo this is b1
6 + hg add b
4 + hg add b
7 + hg commit -m1 -d '0 0'
5 + hg commit -m1 -d 0 0
8 + hg manifest 1
6 + hg manifest 1
9 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
7 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
10 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
8 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
11 + echo this is c1
9 + hg rawcommit -p 1 -d 0 0 -m2 c
12 + hg rawcommit -p 1 -d '0 0' -m2 c
13 + hg manifest 2
10 + hg manifest 2
14 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
11 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
15 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
12 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
16 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
13 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
17 + hg parents
14 + hg parents
18 changeset: 2:9f827976dae4
15 changeset: 2:9f827976dae4
19 tag: tip
16 tag: tip
20 user: test
17 user: test
21 date: Thu Jan 1 00:00:00 1970
18 date: Thu Jan 1 00:00:00 1970
22 summary: 2
19 summary: 2
23
20
24 + rm b
21 + hg rawcommit -p 2 -d 0 0 -m3 b
25 + hg rawcommit -p 2 -d '0 0' -m3 b
26 + hg manifest 3
22 + hg manifest 3
27 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
23 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
28 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
24 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
29 + hg parents
25 + hg parents
30 changeset: 3:c8225a106186
26 changeset: 3:c8225a106186
31 tag: tip
27 tag: tip
32 user: test
28 user: test
33 date: Thu Jan 1 00:00:00 1970
29 date: Thu Jan 1 00:00:00 1970
34 summary: 3
30 summary: 3
35
31
36 + echo this is a22
32 + hg rawcommit -p 3 -d 0 0 -m4 a
37 + hg rawcommit -p 3 -d '0 0' -m4 a
38 + hg manifest 4
33 + hg manifest 4
39 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
34 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
40 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
35 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
41 + hg parents
36 + hg parents
42 changeset: 4:8dfeee82a94b
37 changeset: 4:8dfeee82a94b
43 tag: tip
38 tag: tip
44 user: test
39 user: test
45 date: Thu Jan 1 00:00:00 1970
40 date: Thu Jan 1 00:00:00 1970
46 summary: 4
41 summary: 4
47
42
48 + echo this is c22
43 + hg rawcommit -p 1 -d 0 0 -m5 c
49 + hg rawcommit -p 1 -d '0 0' -m5 c
50 + hg manifest 5
44 + hg manifest 5
51 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
45 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
52 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
46 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
53 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c
47 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c
54 + hg parents
48 + hg parents
55 changeset: 4:8dfeee82a94b
49 changeset: 4:8dfeee82a94b
56 user: test
50 user: test
57 date: Thu Jan 1 00:00:00 1970
51 date: Thu Jan 1 00:00:00 1970
58 summary: 4
52 summary: 4
59
53
60 + hg rawcommit -p 4 -p 5 -d '0 0' -m6
54 + hg rawcommit -p 4 -p 5 -d 0 0 -m6
61 + hg manifest 6
55 + hg manifest 6
62 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
56 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
63 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
57 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
64 + hg parents
58 + hg parents
65 changeset: 6:c0e932ecae5e
59 changeset: 6:c0e932ecae5e
66 tag: tip
60 tag: tip
67 parent: 4:8dfeee82a94b
61 parent: 4:8dfeee82a94b
68 parent: 5:a7925a42d0df
62 parent: 5:a7925a42d0df
69 user: test
63 user: test
70 date: Thu Jan 1 00:00:00 1970
64 date: Thu Jan 1 00:00:00 1970
71 summary: 6
65 summary: 6
72
66
73 + hg rawcommit -p 6 -d '0 0' -m7
67 + hg rawcommit -p 6 -d 0 0 -m7
74 + hg manifest 7
68 + hg manifest 7
75 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
69 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
76 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
70 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
77 + hg parents
71 + hg parents
78 changeset: 7:3a157da4365d
72 changeset: 7:3a157da4365d
79 tag: tip
73 tag: tip
80 user: test
74 user: test
81 date: Thu Jan 1 00:00:00 1970
75 date: Thu Jan 1 00:00:00 1970
82 summary: 7
76 summary: 7
83
77
@@ -1,39 +1,32 b''
1 + mkdir test
2 + cd test
3 + echo foo
4 + hg init
1 + hg init
5 + hg addremove
2 + hg addremove
6 adding foo
3 adding foo
7 + hg commit -m 1
4 + hg commit -m 1
8 + hg verify
5 + hg verify
9 checking changesets
6 checking changesets
10 checking manifests
7 checking manifests
11 crosschecking files in changesets and manifests
8 crosschecking files in changesets and manifests
12 checking files
9 checking files
13 1 files, 1 changesets, 1 total revisions
10 1 files, 1 changesets, 1 total revisions
14 + hg clone . ../branch
11 + hg clone . ../branch
15 + cd ../branch
16 + hg co
12 + hg co
17 + echo bar
18 + hg commit -m 2
13 + hg commit -m 2
19 + cd ../test
20 + hg pull ../branch
14 + hg pull ../branch
21 pulling from ../branch
15 pulling from ../branch
22 searching for changes
16 searching for changes
23 adding changesets
17 adding changesets
24 adding manifests
18 adding manifests
25 adding file changes
19 adding file changes
26 added 1 changesets with 1 changes to 1 files
20 added 1 changesets with 1 changes to 1 files
27 (run 'hg update' to get a working copy)
21 (run 'hg update' to get a working copy)
28 + hg verify
22 + hg verify
29 checking changesets
23 checking changesets
30 checking manifests
24 checking manifests
31 crosschecking files in changesets and manifests
25 crosschecking files in changesets and manifests
32 checking files
26 checking files
33 1 files, 2 changesets, 2 total revisions
27 1 files, 2 changesets, 2 total revisions
34 + hg co
28 + hg co
35 + cat foo
36 foo
29 foo
37 bar
30 bar
38 + hg manifest
31 + hg manifest
39 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo
32 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo
@@ -1,31 +1,28 b''
1 + hg init
1 + hg init
2 + echo a
3 + hg add a
2 + hg add a
4 + hg commit -m test -d '0 0'
3 + hg commit -m test -d 0 0
5 + hg history
4 + hg history
6 changeset: 0:acb14030fe0a
5 changeset: 0:acb14030fe0a
7 tag: tip
6 tag: tip
8 user: test
7 user: test
9 date: Thu Jan 1 00:00:00 1970
8 date: Thu Jan 1 00:00:00 1970
10 summary: test
9 summary: test
11
10
12 + hg tag -d '0 0' bleah
11 + hg tag -d 0 0 bleah
13 + hg history
12 + hg history
14 changeset: 1:863197ef0378
13 changeset: 1:863197ef0378
15 tag: tip
14 tag: tip
16 user: test
15 user: test
17 date: Thu Jan 1 00:00:00 1970
16 date: Thu Jan 1 00:00:00 1970
18 summary: Added tag bleah for changeset acb14030fe0a21b60322c440ad2d20cf7685a376
17 summary: Added tag bleah for changeset acb14030fe0a21b60322c440ad2d20cf7685a376
19
18
20 changeset: 0:acb14030fe0a
19 changeset: 0:acb14030fe0a
21 tag: bleah
20 tag: bleah
22 user: test
21 user: test
23 date: Thu Jan 1 00:00:00 1970
22 date: Thu Jan 1 00:00:00 1970
24 summary: test
23 summary: test
25
24
26 + echo foo
25 + hg tag -d 0 0 bleah2
27 + hg tag -d '0 0' bleah2
28 abort: working copy of .hgtags is changed!
26 abort: working copy of .hgtags is changed!
29 (please commit .hgtags manually)
27 (please commit .hgtags manually)
30 + echo failed
31 failed
28 failed
@@ -1,47 +1,39 b''
1 + mkdir t
2 + cd t
3 + hg init
1 + hg init
4 + hg id
2 + hg id
5 unknown
3 unknown
6 + echo a
7 + hg add a
4 + hg add a
8 + hg commit -m test -d '0 0'
5 + hg commit -m test -d 0 0
9 + hg co
6 + hg co
10 + hg identify
7 + hg identify
11 acb14030fe0a tip
8 acb14030fe0a tip
12 ++ hg -q tip
9 + hg -q tip
13 ++ cut -d : -f 2
14 + T=acb14030fe0a21b60322c440ad2d20cf7685a376
15 + echo 'acb14030fe0a21b60322c440ad2d20cf7685a376 first'
16 + cat .hgtags
17 acb14030fe0a21b60322c440ad2d20cf7685a376 first
10 acb14030fe0a21b60322c440ad2d20cf7685a376 first
18 + hg add .hgtags
11 + hg add .hgtags
19 + hg commit -m 'add tags' -d '0 0'
12 + hg commit -m add tags -d 0 0
20 + hg tags
13 + hg tags
21 tip 1:b9154636be938d3d431e75a7c906504a079bfe07
14 tip 1:b53d0e1f3043ecbccf1b9ad2cea562c1b50462b2
22 first 0:acb14030fe0a21b60322c440ad2d20cf7685a376
15 first 0:acb14030fe0a21b60322c440ad2d20cf7685a376
16 hg -q tip ?:?
23 + hg identify
17 + hg identify
24 b9154636be93 tip
18 b53d0e1f3043 tip
25 + echo bb
26 + hg status
19 + hg status
27 M a
20 M a
28 + hg identify
21 + hg identify
29 b9154636be93+ tip
22 b53d0e1f3043+ tip
30 + hg co first
23 + hg co first
31 + hg id
24 + hg id
32 acb14030fe0a+ first
25 acb14030fe0a+ first
33 + hg -v id
26 + hg -v id
34 acb14030fe0a21b60322c440ad2d20cf7685a376+ first
27 acb14030fe0a21b60322c440ad2d20cf7685a376+ first
35 + hg status
28 + hg status
36 M a
29 M a
37 + echo 1
38 + hg add b
30 + hg add b
39 + hg commit -m branch -d '0 0'
31 + hg commit -m branch -d 0 0
40 + hg id
32 + hg id
41 c8edf04160c7 tip
33 c8edf04160c7 tip
42 + hg co -m 1
34 + hg co -m 1
43 + hg id
35 + hg id
44 c8edf04160c7+b9154636be93+ tip
36 c8edf04160c7+b53d0e1f3043+ tip
45 + hg status
37 + hg status
46 M .hgtags
38 M .hgtags
47 M a
39 M a
@@ -1,31 +1,28 b''
1 + mkdir t
2 + cd t
3 + hg init
1 + hg init
4 + echo a
5 + hg add a
2 + hg add a
6 + hg commit -m test -d '0 0'
3 + hg commit -m test -d 0 0
7 + hg verify
4 + hg verify
8 checking changesets
5 checking changesets
9 checking manifests
6 checking manifests
10 crosschecking files in changesets and manifests
7 crosschecking files in changesets and manifests
11 checking files
8 checking files
12 1 files, 1 changesets, 1 total revisions
9 1 files, 1 changesets, 1 total revisions
13 + hg parents
10 + hg parents
14 changeset: 0:acb14030fe0a
11 changeset: 0:acb14030fe0a
15 tag: tip
12 tag: tip
16 user: test
13 user: test
17 date: Thu Jan 1 00:00:00 1970
14 date: Thu Jan 1 00:00:00 1970
18 summary: test
15 summary: test
19
16
20 + hg status
17 + hg status
21 + hg undo
18 + hg undo
22 rolling back last transaction
19 rolling back last transaction
23 + hg verify
20 + hg verify
24 checking changesets
21 checking changesets
25 checking manifests
22 checking manifests
26 crosschecking files in changesets and manifests
23 crosschecking files in changesets and manifests
27 checking files
24 checking files
28 0 files, 0 changesets, 0 total revisions
25 0 files, 0 changesets, 0 total revisions
29 + hg parents
26 + hg parents
30 + hg status
27 + hg status
31 A a
28 A a
@@ -1,19 +1,27 b''
1 + hg init
2 + hg add a
3 + hg commit -m a -u a -d 0 0
4 + hg init
5 + hg add b
6 + hg commit -m b -u b -d 0 0
7 + hg pull ../a
1 pulling from ../a
8 pulling from ../a
2 searching for changes
9 searching for changes
3 warning: pulling from an unrelated repository!
10 warning: pulling from an unrelated repository!
4 adding changesets
11 adding changesets
5 adding manifests
12 adding manifests
6 adding file changes
13 adding file changes
7 added 1 changesets with 1 changes to 1 files
14 added 1 changesets with 1 changes to 1 files
8 (run 'hg update' to get a working copy)
15 (run 'hg update' to get a working copy)
16 + hg heads
9 changeset: 1:9a79c33a9db3
17 changeset: 1:9a79c33a9db3
10 tag: tip
18 tag: tip
11 user: a
19 user: a
12 date: Thu Jan 1 00:00:00 1970
20 date: Thu Jan 1 00:00:00 1970
13 summary: a
21 summary: a
14
22
15 changeset: 0:01f8062b2de5
23 changeset: 0:01f8062b2de5
16 user: b
24 user: b
17 date: Thu Jan 1 00:00:00 1970
25 date: Thu Jan 1 00:00:00 1970
18 summary: b
26 summary: b
19
27
@@ -1,76 +1,65 b''
1 + mkdir r1
2 + cd r1
3 + hg init
1 + hg init
4 + echo a
5 + hg addremove
2 + hg addremove
6 adding a
3 adding a
7 + hg commit -m 1 -d '0 0'
4 + hg commit -m 1 -d 0 0
8 + hg clone . ../r2
5 + hg clone . ../r2
9 + cd ../r2
10 + hg up
6 + hg up
11 + echo abc
12 + hg diff
7 + hg diff
13 + sed 's/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/'
14 diff -r c19d34741b0a a
8 diff -r c19d34741b0a a
15 --- a/a
9 --- a/a
16 +++ b/a
10 +++ b/a
17 @@ -1,1 +1,1 @@
11 @@ -1,1 +1,1 @@
18 -a
12 -a
19 +abc
13 +abc
20 + cd ../r1
21 + echo b
22 + echo a2
23 + hg addremove
14 + hg addremove
24 adding b
15 adding b
25 + hg commit -m 2 -d '0 0'
16 + hg commit -m 2 -d 0 0
26 + cd ../r2
27 + hg -q pull ../r1
17 + hg -q pull ../r1
28 + hg status
18 + hg status
29 M a
19 M a
30 + hg --debug up
20 + hg --debug up
31 resolving manifests
21 resolving manifests
32 force None allow None moddirstate True linear True
22 force None allow None moddirstate True linear True
33 ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e
23 ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e
34 a versions differ, resolve
24 a versions differ, resolve
35 remote created b
25 remote created b
36 getting b
26 getting b
37 merging a
27 merging a
38 resolving a
28 resolving a
39 file a: other d730145abbf9 ancestor b789fdd96dc2
29 file a: other d730145abbf9 ancestor b789fdd96dc2
40 + hg --debug up -m
30 + hg --debug up -m
41 resolving manifests
31 resolving manifests
42 force None allow 1 moddirstate True linear True
32 force None allow 1 moddirstate True linear True
43 ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e
33 ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e
44 + hg parents
34 + hg parents
45 changeset: 1:1e71731e6fbb
35 changeset: 1:1e71731e6fbb
46 tag: tip
36 tag: tip
47 user: test
37 user: test
48 date: Thu Jan 1 00:00:00 1970
38 date: Thu Jan 1 00:00:00 1970
49 summary: 2
39 summary: 2
50
40
51 + hg -v history
41 + hg -v history
52 changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6
42 changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6
53 tag: tip
43 tag: tip
54 user: test
44 user: test
55 date: Thu Jan 1 00:00:00 1970
45 date: Thu Jan 1 00:00:00 1970
56 files: a b
46 files: a b
57 description:
47 description:
58 2
48 2
59
49
60
50
61 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e
51 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e
62 user: test
52 user: test
63 date: Thu Jan 1 00:00:00 1970
53 date: Thu Jan 1 00:00:00 1970
64 files: a
54 files: a
65 description:
55 description:
66 1
56 1
67
57
68
58
69 + hg diff
59 + hg diff
70 + sed 's/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/'
71 diff -r 1e71731e6fbb a
60 diff -r 1e71731e6fbb a
72 --- a/a
61 --- a/a
73 +++ b/a
62 +++ b/a
74 @@ -1,1 +1,1 @@
63 @@ -1,1 +1,1 @@
75 -a2
64 -a2
76 +abc
65 +abc
General Comments 0
You need to be logged in to leave comments. Login now