Show More
@@ -52,13 +52,6 b' cd ..' | |||||
52 | if ${PYTHON-python} setup.py install --home="$INST" > tests/install.err 2>&1 |
|
52 | if ${PYTHON-python} setup.py install --home="$INST" > tests/install.err 2>&1 | |
53 | then |
|
53 | then | |
54 | rm tests/install.err |
|
54 | rm tests/install.err | |
55 | mv "$INST/bin/hg" "$INST/bin/hg.real" |
|
|||
56 | ( |
|
|||
57 | echo '#!/bin/sh' |
|
|||
58 | echo 'echo "+ hg $@"' |
|
|||
59 | echo 'exec hg.real "$@"' |
|
|||
60 | ) > "$INST/bin/hg" |
|
|||
61 | chmod 755 "$INST/bin/hg" |
|
|||
62 | else |
|
55 | else | |
63 | cat tests/install.err |
|
56 | cat tests/install.err | |
64 | exit 1 |
|
57 | exit 1 |
@@ -1,8 +1,2 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m commit #0 -d 0 0 |
|
|||
4 | a |
|
1 | a | |
5 | + hg add b |
|
|||
6 | + hg commit -m commit #1 -d 0 0 |
|
|||
7 | + hg co 0 |
|
|||
8 | a |
|
2 | a |
@@ -1,9 +1,7 b'' | |||||
1 | + hg clone http://localhost:20059/ copy |
|
|||
2 | requesting all changes |
|
1 | requesting all changes | |
3 | abort: error: Connection refused |
|
2 | abort: error: Connection refused | |
4 | 255 |
|
3 | 255 | |
5 | ls: copy: No such file or directory |
|
4 | ls: copy: No such file or directory | |
6 | + hg clone http://localhost:20059/foo copy2 |
|
|||
7 | requesting all changes |
|
5 | requesting all changes | |
8 | abort: HTTP Error 404: File not found |
|
6 | abort: HTTP Error 404: File not found | |
9 | 255 |
|
7 | 255 |
@@ -1,18 +1,11 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m test -d 0 0 |
|
|||
4 | + hg history |
|
|||
5 | changeset: 0:acb14030fe0a |
|
1 | changeset: 0:acb14030fe0a | |
6 | tag: tip |
|
2 | tag: tip | |
7 | user: test |
|
3 | user: test | |
8 | date: Thu Jan 1 00:00:00 1970 |
|
4 | date: Thu Jan 1 00:00:00 1970 | |
9 | summary: test |
|
5 | summary: test | |
10 |
|
6 | |||
11 | + hg manifest |
|
|||
12 | b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a |
|
7 | b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a | |
13 | + hg cat a |
|
|||
14 | a |
|
8 | a | |
15 | + hg verify |
|
|||
16 | checking changesets |
|
9 | checking changesets | |
17 | checking manifests |
|
10 | checking manifests | |
18 | crosschecking files in changesets and manifests |
|
11 | crosschecking files in changesets and manifests |
@@ -1,20 +1,12 b'' | |||||
1 | + hg clone a b |
|
|||
2 | abort: repository a/.hg not found! |
|
1 | abort: repository a/.hg not found! | |
3 | 255 |
|
2 | 255 | |
4 | + hg clone http://127.0.0.1:3121/a b |
|
|||
5 | requesting all changes |
|
3 | requesting all changes | |
6 | abort: error: Connection refused |
|
4 | abort: error: Connection refused | |
7 | 255 |
|
5 | 255 | |
8 | + hg clone a b |
|
|||
9 | abort: repository a/.hg not found! |
|
6 | abort: repository a/.hg not found! | |
10 | 255 |
|
7 | 255 | |
11 | + hg init |
|
|||
12 | + hg clone . ../a |
|
|||
13 | abort: destination '../a' already exists |
|
8 | abort: destination '../a' already exists | |
14 | 1 |
|
9 | 1 | |
15 | + hg clone a b |
|
|||
16 | abort: repository a/.hg not found! |
|
10 | abort: repository a/.hg not found! | |
17 | 255 |
|
11 | 255 | |
18 | + hg init |
|
|||
19 | + hg clone q |
|
|||
20 | abort: destination 'q' already exists |
|
12 | abort: destination 'q' already exists |
@@ -1,22 +1,13 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m test -d 0 0 |
|
|||
4 | + hg clone . ../b |
|
|||
5 | a |
|
1 | a | |
6 | + hg verify |
|
|||
7 | checking changesets |
|
2 | checking changesets | |
8 | checking manifests |
|
3 | checking manifests | |
9 | crosschecking files in changesets and manifests |
|
4 | crosschecking files in changesets and manifests | |
10 | checking files |
|
5 | checking files | |
11 | 1 files, 1 changesets, 1 total revisions |
|
6 | 1 files, 1 changesets, 1 total revisions | |
12 | + hg clone -U . ../c |
|
|||
13 | cat: a: No such file or directory |
|
7 | cat: a: No such file or directory | |
14 | + hg verify |
|
|||
15 | checking changesets |
|
8 | checking changesets | |
16 | checking manifests |
|
9 | checking manifests | |
17 | crosschecking files in changesets and manifests |
|
10 | crosschecking files in changesets and manifests | |
18 | checking files |
|
11 | checking files | |
19 | 1 files, 1 changesets, 1 total revisions |
|
12 | 1 files, 1 changesets, 1 total revisions | |
20 | + hg clone ../a |
|
|||
21 | + hg cat a |
|
|||
22 | a |
|
13 | a |
@@ -1,17 +1,8 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m ancestor -d 0 0 |
|
|||
4 | + hg commit -m branch1 -d 0 0 |
|
|||
5 | + hg co 0 |
|
|||
6 | + hg commit -m branch2 -d 0 0 |
|
|||
7 | + hg up -m 1 |
|
|||
8 | merge: warning: conflicts during merge |
|
1 | merge: warning: conflicts during merge | |
9 | merging a |
|
2 | merging a | |
10 | merging a failed! |
|
3 | merging a failed! | |
11 | + hg id |
|
|||
12 | 32e80765d7fe+75234512624c+ tip |
|
4 | 32e80765d7fe+75234512624c+ tip | |
13 | something else |
|
5 | something else | |
14 | ======= |
|
6 | ======= | |
15 | something |
|
7 | something | |
16 | + hg status |
|
|||
17 | M a |
|
8 | M a |
@@ -1,14 +1,6 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m 1 -d 0 0 |
|
|||
4 | + hg status |
|
|||
5 | + hg copy a b |
|
|||
6 | + hg status |
|
|||
7 | A b |
|
1 | A b | |
8 | + hg --debug commit -m 2 -d 0 0 |
|
|||
9 | b |
|
2 | b | |
10 | b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 |
|
3 | b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 | |
11 | + hg history |
|
|||
12 | changeset: 1:3b5b84850bbe |
|
4 | changeset: 1:3b5b84850bbe | |
13 | tag: tip |
|
5 | tag: tip | |
14 | user: test |
|
6 | user: test | |
@@ -20,16 +12,14 b' user: test' | |||||
20 | date: Thu Jan 1 00:00:00 1970 |
|
12 | date: Thu Jan 1 00:00:00 1970 | |
21 | summary: 1 |
|
13 | summary: 1 | |
22 |
|
14 | |||
23 | + hg log a |
|
|||
24 | changeset: 0:c19d34741b0a |
|
15 | changeset: 0:c19d34741b0a | |
25 | user: test |
|
16 | user: test | |
26 | date: Thu Jan 1 00:00:00 1970 |
|
17 | date: Thu Jan 1 00:00:00 1970 | |
27 | summary: 1 |
|
18 | summary: 1 | |
28 |
|
19 | |||
29 | 566e338d09a089ba737c21e0d3759980 .hg/data/b.d |
|
20 | 566e338d09a089ba737c21e0d3759980 .hg/data/b.d | |
30 | 3268d2f51b2d2d423ff01b59eb6fbb14 bsum |
|
21 | 60b725f10c9c85c70d97880dfe8191b3 bsum | |
31 | 70909ca2ecf494c71e9184b445e040ee asum |
|
22 | 60b725f10c9c85c70d97880dfe8191b3 asum | |
32 | + hg verify |
|
|||
33 | checking changesets |
|
23 | checking changesets | |
34 | checking manifests |
|
24 | checking manifests | |
35 | crosschecking files in changesets and manifests |
|
25 | crosschecking files in changesets and manifests |
@@ -1,14 +1,8 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg ci -m a -d 0 0 |
|
|||
4 | + hg add b |
|
|||
5 | + hg diff |
|
|||
6 | diff -r 3903775176ed b |
|
1 | diff -r 3903775176ed b | |
7 | --- /dev/null |
|
2 | --- /dev/null | |
8 | +++ b/b |
|
3 | +++ b/b | |
9 | @@ -0,0 +1,1 @@ |
|
4 | @@ -0,0 +1,1 @@ | |
10 | +123 |
|
5 | +123 | |
11 | + hg diff -r tip |
|
|||
12 | diff -r 3903775176ed b |
|
6 | diff -r 3903775176ed b | |
13 | --- /dev/null |
|
7 | --- /dev/null | |
14 | +++ b/b |
|
8 | +++ b/b |
@@ -1,9 +1,3 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 |
|
|||
6 | 321 |
|
1 | 321 | |
7 | + hg co 0 |
|
|||
8 | cat: sub/b: No such file or directory |
|
2 | cat: sub/b: No such file or directory | |
9 | ls: sub: No such file or directory |
|
3 | ls: sub: No such file or directory |
@@ -1,8 +1,3 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a b |
|
|||
3 | + hg ci -m added a b -d 0 0 |
|
|||
4 | + hg init |
|
|||
5 | + hg pull ../test1 |
|
|||
6 | pulling from ../test1 |
|
1 | pulling from ../test1 | |
7 | requesting all changes |
|
2 | requesting all changes | |
8 | adding changesets |
|
3 | adding changesets | |
@@ -10,10 +5,6 b' adding manifests' | |||||
10 | adding file changes |
|
5 | adding file changes | |
11 | added 1 changesets with 2 changes to 2 files |
|
6 | added 1 changesets with 2 changes to 2 files | |
12 | (run 'hg update' to get a working copy) |
|
7 | (run 'hg update' to get a working copy) | |
13 | + hg co |
|
|||
14 | + hg ci -m chmod +x a -d 0 0 |
|
|||
15 | + hg ci -m a updated -d 0 0 |
|
|||
16 | + hg pull ../test2 |
|
|||
17 | pulling from ../test2 |
|
8 | pulling from ../test2 | |
18 | searching for changes |
|
9 | searching for changes | |
19 | adding changesets |
|
10 | adding changesets | |
@@ -21,7 +12,6 b' adding manifests' | |||||
21 | adding file changes |
|
12 | adding file changes | |
22 | added 1 changesets with 1 changes to 1 files |
|
13 | added 1 changesets with 1 changes to 1 files | |
23 | (run 'hg update' to get a working copy) |
|
14 | (run 'hg update' to get a working copy) | |
24 | + hg heads |
|
|||
25 | changeset: 2:3ef543305655 |
|
15 | changeset: 2:3ef543305655 | |
26 | tag: tip |
|
16 | tag: tip | |
27 | parent: 0:22a449e20da5 |
|
17 | parent: 0:22a449e20da5 | |
@@ -34,7 +24,6 b' user: test' | |||||
34 | date: Thu Jan 1 00:00:00 1970 |
|
24 | date: Thu Jan 1 00:00:00 1970 | |
35 | summary: a updated |
|
25 | summary: a updated | |
36 |
|
26 | |||
37 | + hg history |
|
|||
38 | changeset: 2:3ef543305655 |
|
27 | changeset: 2:3ef543305655 | |
39 | tag: tip |
|
28 | tag: tip | |
40 | parent: 0:22a449e20da5 |
|
29 | parent: 0:22a449e20da5 | |
@@ -52,7 +41,6 b' user: test' | |||||
52 | date: Thu Jan 1 00:00:00 1970 |
|
41 | date: Thu Jan 1 00:00:00 1970 | |
53 | summary: added a b |
|
42 | summary: added a b | |
54 |
|
43 | |||
55 | + hg -v co -m |
|
|||
56 | resolving manifests |
|
44 | resolving manifests | |
57 | merging a |
|
45 | merging a | |
58 | resolving a |
|
46 | resolving a |
@@ -1,4 +1,3 b'' | |||||
1 | + hg |
|
|||
2 | Mercurial Distributed SCM |
|
1 | Mercurial Distributed SCM | |
3 |
|
2 | |||
4 | basic commands (use "hg help" for the full list or option "-v" for details): |
|
3 | basic commands (use "hg help" for the full list or option "-v" for details): | |
@@ -18,7 +17,6 b' basic commands (use "hg help" for the fu' | |||||
18 | serve export the repository via HTTP |
|
17 | serve export the repository via HTTP | |
19 | status show changed files in the working directory |
|
18 | status show changed files in the working directory | |
20 | update update or merge working directory |
|
19 | update update or merge working directory | |
21 | + hg -q |
|
|||
22 | add add the specified files on the next commit |
|
20 | add add the specified files on the next commit | |
23 | annotate show changeset information per file line |
|
21 | annotate show changeset information per file line | |
24 | clone make a copy of an existing repository |
|
22 | clone make a copy of an existing repository | |
@@ -34,7 +32,6 b' basic commands (use "hg help" for the fu' | |||||
34 | serve export the repository via HTTP |
|
32 | serve export the repository via HTTP | |
35 | status show changed files in the working directory |
|
33 | status show changed files in the working directory | |
36 | update update or merge working directory |
|
34 | update update or merge working directory | |
37 | + hg help |
|
|||
38 | Mercurial Distributed SCM |
|
35 | Mercurial Distributed SCM | |
39 |
|
36 | |||
40 | list of commands (use "hg help -v" to show aliases and global options): |
|
37 | list of commands (use "hg help -v" to show aliases and global options): | |
@@ -57,8 +54,9 b' list of commands (use "hg help -v" to sh' | |||||
57 | locate locate files matching specific patterns |
|
54 | locate locate files matching specific patterns | |
58 | log show the revision history of the repository or a single file |
|
55 | log show the revision history of the repository or a single file | |
59 | manifest output the latest or given revision of the project manifest |
|
56 | manifest output the latest or given revision of the project manifest | |
|
57 | outgoing show changesets not found in destination | |||
60 | parents show the parents of the working dir or revision |
|
58 | parents show the parents of the working dir or revision | |
61 | paths show path or list of available paths |
|
59 | paths show definition of symbolic path names | |
62 | pull pull changes from the specified source |
|
60 | pull pull changes from the specified source | |
63 | push push changes to the specified destination |
|
61 | push push changes to the specified destination | |
64 | rawcommit raw commit interface |
|
62 | rawcommit raw commit interface | |
@@ -75,7 +73,6 b' list of commands (use "hg help -v" to sh' | |||||
75 | update update or merge working directory |
|
73 | update update or merge working directory | |
76 | verify verify the integrity of the repository |
|
74 | verify verify the integrity of the repository | |
77 | version output version and copyright information |
|
75 | version output version and copyright information | |
78 | + hg -q help |
|
|||
79 | add add the specified files on the next commit |
|
76 | add add the specified files on the next commit | |
80 | addremove add all new files, delete all missing files |
|
77 | addremove add all new files, delete all missing files | |
81 | annotate show changeset information per file line |
|
78 | annotate show changeset information per file line | |
@@ -94,8 +91,9 b' list of commands (use "hg help -v" to sh' | |||||
94 | locate locate files matching specific patterns |
|
91 | locate locate files matching specific patterns | |
95 | log show the revision history of the repository or a single file |
|
92 | log show the revision history of the repository or a single file | |
96 | manifest output the latest or given revision of the project manifest |
|
93 | manifest output the latest or given revision of the project manifest | |
|
94 | outgoing show changesets not found in destination | |||
97 | parents show the parents of the working dir or revision |
|
95 | parents show the parents of the working dir or revision | |
98 | paths show path or list of available paths |
|
96 | paths show definition of symbolic path names | |
99 | pull pull changes from the specified source |
|
97 | pull pull changes from the specified source | |
100 | push push changes to the specified destination |
|
98 | push push changes to the specified destination | |
101 | rawcommit raw commit interface |
|
99 | rawcommit raw commit interface | |
@@ -112,7 +110,6 b' list of commands (use "hg help -v" to sh' | |||||
112 | update update or merge working directory |
|
110 | update update or merge working directory | |
113 | verify verify the integrity of the repository |
|
111 | verify verify the integrity of the repository | |
114 | version output version and copyright information |
|
112 | version output version and copyright information | |
115 | + hg add -h |
|
|||
116 | hg add: option -h not recognized |
|
113 | hg add: option -h not recognized | |
117 | hg add [OPTION]... [FILE]... |
|
114 | hg add [OPTION]... [FILE]... | |
118 |
|
115 | |||
@@ -124,7 +121,6 b' options:' | |||||
124 | include path in search |
|
121 | include path in search | |
125 | -X --exclude |
|
122 | -X --exclude | |
126 | exclude path from search |
|
123 | exclude path from search | |
127 | + hg add --skjdfks |
|
|||
128 | hg add: option --skjdfks not recognized |
|
124 | hg add: option --skjdfks not recognized | |
129 | hg add [OPTION]... [FILE]... |
|
125 | hg add [OPTION]... [FILE]... | |
130 |
|
126 | |||
@@ -136,7 +132,6 b' options:' | |||||
136 | include path in search |
|
132 | include path in search | |
137 | -X --exclude |
|
133 | -X --exclude | |
138 | exclude path from search |
|
134 | exclude path from search | |
139 | + hg help diff |
|
|||
140 | hg diff [-I] [-X] [-r REV1 [-r REV2]] [FILE]... |
|
135 | hg diff [-I] [-X] [-r REV1 [-r REV2]] [FILE]... | |
141 |
|
136 | |||
142 | diff working directory (or selected files) |
|
137 | diff working directory (or selected files) | |
@@ -149,7 +144,6 b' options:' | |||||
149 | include path in search |
|
144 | include path in search | |
150 | -X --exclude |
|
145 | -X --exclude | |
151 | exclude path from search |
|
146 | exclude path from search | |
152 | + hg help status |
|
|||
153 | hg status [OPTION]... [FILE]... |
|
147 | hg status [OPTION]... [FILE]... | |
154 |
|
148 | |||
155 | show changed files in the working directory |
|
149 | show changed files in the working directory | |
@@ -173,11 +167,9 b' options:' | |||||
173 | include path in search |
|
167 | include path in search | |
174 | -X --exclude |
|
168 | -X --exclude | |
175 | exclude path from search |
|
169 | exclude path from search | |
176 | + hg -q help status |
|
|||
177 | hg status [OPTION]... [FILE]... |
|
170 | hg status [OPTION]... [FILE]... | |
178 |
|
171 | |||
179 | show changed files in the working directory |
|
172 | show changed files in the working directory | |
180 | + hg help foo |
|
|||
181 | hg: unknown command 'foo' |
|
173 | hg: unknown command 'foo' | |
182 | Mercurial Distributed SCM |
|
174 | Mercurial Distributed SCM | |
183 |
|
175 | |||
@@ -198,7 +190,6 b' basic commands (use "hg help" for the fu' | |||||
198 | serve export the repository via HTTP |
|
190 | serve export the repository via HTTP | |
199 | status show changed files in the working directory |
|
191 | status show changed files in the working directory | |
200 | update update or merge working directory |
|
192 | update update or merge working directory | |
201 | + hg skjdfks |
|
|||
202 | hg: unknown command 'skjdfks' |
|
193 | hg: unknown command 'skjdfks' | |
203 | Mercurial Distributed SCM |
|
194 | Mercurial Distributed SCM | |
204 |
|
195 |
@@ -1,5 +1,2 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m test -d 0 0 |
|
|||
4 | precommit hook |
|
1 | precommit hook | |
5 | commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376 |
|
2 | commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376 |
@@ -1,5 +1,3 b'' | |||||
1 | + hg init |
|
|||
2 | + hg serve --stdio |
|
|||
3 | 0 |
|
1 | 0 | |
4 | 0 |
|
2 | 0 | |
5 | adding changesets |
|
3 | adding changesets |
@@ -1,46 +1,12 b'' | |||||
1 | + hg init |
|
1 | 1:3aa14bbc23d9 | |
2 | + hg add file1 file2 |
|
2 | 0:8633637036c1 | |
3 | + hg commit -m added file1 and file2 -d 0 0 -u user |
|
|||
4 | + hg commit -m changed file1 -d 0 0 -u user |
|
|||
5 | + hg -q log |
|
|||
6 | 1:3aa14bbc23d90e3f8b5b639b4a43d76509bae76c |
|
|||
7 | 0:8633637036c18f021d771208e16ae3508ab81d28 |
|
|||
8 | + hg id |
|
|||
9 | 3aa14bbc23d9 tip |
|
3 | 3aa14bbc23d9 tip | |
10 | + hg update -C 0 |
|
|||
11 | + hg id |
|
|||
12 | 8633637036c1 |
|
4 | 8633637036c1 | |
13 | + hg id |
|
|||
14 | 8633637036c1+ |
|
5 | 8633637036c1+ | |
15 | + hg revert |
|
|||
16 | + hg diff |
|
|||
17 | + hg status |
|
|||
18 | + hg id |
|
|||
19 | 8633637036c1 |
|
6 | 8633637036c1 | |
20 | + hg update |
|
|||
21 | + hg diff |
|
|||
22 | + hg status |
|
|||
23 | + hg id |
|
|||
24 | 3aa14bbc23d9 tip |
|
7 | 3aa14bbc23d9 tip | |
25 | + hg update -C 0 |
|
|||
26 | + hg update |
|
|||
27 | merging file1 |
|
8 | merging file1 | |
28 | + hg diff |
|
|||
29 | + hg status |
|
|||
30 | + hg id |
|
|||
31 | 3aa14bbc23d9 tip |
|
9 | 3aa14bbc23d9 tip | |
32 | + hg revert |
|
10 | 3aa14bbc23d9 tip | |
33 | + hg diff |
|
|||
34 | + hg status |
|
|||
35 | + hg id |
|
|||
36 | 3aa14bbc23d9 tip |
|
11 | 3aa14bbc23d9 tip | |
37 | + hg revert -r tip |
|
|||
38 | + hg diff |
|
|||
39 | + hg status |
|
|||
40 | + hg id |
|
|||
41 | 3aa14bbc23d9 tip |
|
12 | 3aa14bbc23d9 tip | |
42 | + hg update -C |
|
|||
43 | + hg diff |
|
|||
44 | + hg status |
|
|||
45 | + hg id |
|
|||
46 | 3aa14bbc23d9 tip |
|
@@ -1,33 +1,13 b'' | |||||
1 | + hg init |
|
1 | 1:f4d7a8c73d23 | |
2 | + hg add file1 file2 |
|
2 | 0:232e179b3f29 | |
3 | + hg commit -m added file1 and file2 -d 0 0 -u user |
|
|||
4 | + hg commit -m changed file1 -d 0 0 -u user |
|
|||
5 | + hg -q log |
|
|||
6 | 1:f4d7a8c73d231bc078e2a5e791325e55e8a4c252 |
|
|||
7 | 0:232e179b3f294d467cfa66e1439bc5b0d44e4a93 |
|
|||
8 | + hg id |
|
|||
9 | f4d7a8c73d23 tip |
|
3 | f4d7a8c73d23 tip | |
10 | + hg update -C 0 |
|
|||
11 | + hg id |
|
|||
12 | 232e179b3f29 |
|
4 | 232e179b3f29 | |
13 | + hg id |
|
|||
14 | 232e179b3f29+ |
|
5 | 232e179b3f29+ | |
15 | + hg revert |
|
|||
16 | + hg diff |
|
|||
17 | + hg status |
|
|||
18 | + hg id |
|
|||
19 | 232e179b3f29 |
|
6 | 232e179b3f29 | |
20 | + hg update |
|
|||
21 | + hg diff |
|
|||
22 | + hg status |
|
|||
23 | + hg id |
|
|||
24 | f4d7a8c73d23 tip |
|
7 | f4d7a8c73d23 tip | |
25 | + hg update -C 0 |
|
|||
26 | + hg update |
|
|||
27 | merge: warning: conflicts during merge |
|
8 | merge: warning: conflicts during merge | |
28 | merging file1 |
|
9 | merging file1 | |
29 | merging file1 failed! |
|
10 | merging file1 failed! | |
30 | + hg diff |
|
|||
31 | diff -r f4d7a8c73d23 file1 |
|
11 | diff -r f4d7a8c73d23 file1 | |
32 | --- a/file1 |
|
12 | --- a/file1 | |
33 | +++ b/file1 |
|
13 | +++ b/file1 | |
@@ -39,22 +19,8 b' diff -r f4d7a8c73d23 file1' | |||||
39 | +======= |
|
19 | +======= | |
40 | changed file1 |
|
20 | changed file1 | |
41 | +>>>>>>> |
|
21 | +>>>>>>> | |
42 | + hg status |
|
|||
43 | M file1 |
|
22 | M file1 | |
44 | + hg id |
|
|||
45 | f4d7a8c73d23+ tip |
|
23 | f4d7a8c73d23+ tip | |
46 | + hg revert |
|
|||
47 | + hg diff |
|
|||
48 | + hg status |
|
|||
49 | + hg id |
|
|||
50 | f4d7a8c73d23 tip |
|
24 | f4d7a8c73d23 tip | |
51 | + hg revert -r tip |
|
|||
52 | + hg diff |
|
|||
53 | + hg status |
|
|||
54 | + hg id |
|
|||
55 | f4d7a8c73d23 tip |
|
25 | f4d7a8c73d23 tip | |
56 | + hg update -C |
|
|||
57 | + hg diff |
|
|||
58 | + hg status |
|
|||
59 | + hg id |
|
|||
60 | f4d7a8c73d23 tip |
|
26 | f4d7a8c73d23 tip |
@@ -1,45 +1,7 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m commit #0 -d 0 0 |
|
|||
4 | + hg add b |
|
|||
5 | + hg commit -m commit #1 -d 0 0 |
|
|||
6 | + hg update 0 |
|
|||
7 | + hg add c |
|
|||
8 | + hg commit -m commit #2 -d 0 0 |
|
|||
9 | + hg update -m 1 |
|
|||
10 | + hg init |
|
|||
11 | + hg add a |
|
|||
12 | + hg commit -m commit #0 -d 0 0 |
|
|||
13 | + hg add b |
|
|||
14 | + hg commit -m commit #1 -d 0 0 |
|
|||
15 | + hg update 0 |
|
|||
16 | + hg add c |
|
|||
17 | + hg commit -m commit #2 -d 0 0 |
|
|||
18 | + hg update -m 1 |
|
|||
19 | merging for b |
|
1 | merging for b | |
20 | merging b |
|
2 | merging b | |
21 | + hg init |
|
|||
22 | + hg add a |
|
|||
23 | + hg commit -m commit #0 -d 0 0 |
|
|||
24 | + hg add b |
|
|||
25 | + hg commit -m commit #1 -d 0 0 |
|
|||
26 | + hg commit -m commit #2 -d 0 0 |
|
|||
27 | + hg update 1 |
|
|||
28 | + hg add c |
|
|||
29 | + hg commit -m commit #3 -d 0 0 |
|
|||
30 | This is file b1 |
|
3 | This is file b1 | |
31 | + hg update -m 2 |
|
|||
32 | merging for b |
|
4 | merging for b | |
33 | merging b |
|
5 | merging b | |
34 | + hg init |
|
|||
35 | + hg add a |
|
|||
36 | + hg commit -m commit #0 -d 0 0 |
|
|||
37 | + hg add b |
|
|||
38 | + hg commit -m commit #1 -d 0 0 |
|
|||
39 | + hg commit -m commit #2 -d 0 0 |
|
|||
40 | + hg update 1 |
|
|||
41 | + hg add c |
|
|||
42 | + hg commit -m commit #3 -d 0 0 |
|
|||
43 | + hg update -m 2 |
|
|||
44 | merging for b |
|
6 | merging for b | |
45 | merging b |
|
7 | merging b |
@@ -1,25 +1,2 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m commit #0 -d 0 0 |
|
|||
4 | + hg add b |
|
|||
5 | + hg commit -m commit #1 -d 0 0 |
|
|||
6 | + hg update 0 |
|
|||
7 | + hg add b |
|
|||
8 | + hg commit -m commit #2 -d 0 0 |
|
|||
9 | + hg init |
|
|||
10 | + hg add a |
|
|||
11 | + hg commit -m commit #0 -d 0 0 |
|
|||
12 | + hg add b |
|
|||
13 | + hg commit -m commit #1 -d 0 0 |
|
|||
14 | + hg update 0 |
|
|||
15 | + hg commit -A -m commit #2 -d 0 0 |
|
|||
16 | adding b |
|
1 | adding b | |
17 | + hg init |
|
|||
18 | + hg add a |
|
|||
19 | + hg commit -m commit #0 -d 0 0 |
|
|||
20 | + hg add b |
|
|||
21 | + hg commit -m commit #1 -d 0 0 |
|
|||
22 | + hg remove b |
|
|||
23 | + hg update 0 |
|
|||
24 | + hg commit -A -m commit #2 -d 0 0 |
|
|||
25 | adding b |
|
2 | adding b |
@@ -1,8 +1,3 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m commit #0 -d 0 0 |
|
|||
4 | + hg add b |
|
|||
5 | + hg commit -A -mcomment #1 -d 0 0 |
|
|||
6 | removing b |
|
1 | removing b | |
7 | b never committed! |
|
2 | b never committed! | |
8 | nothing changed |
|
3 | nothing changed |
@@ -1,10 +0,0 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m commit #0 -d 0 0 |
|
|||
4 | + hg add b |
|
|||
5 | + hg commit -m commit #1 -d 0 0 |
|
|||
6 | + hg update 0 |
|
|||
7 | + hg add c |
|
|||
8 | + hg commit -m commit #2 -d 0 0 |
|
|||
9 | + hg update -m 1 |
|
|||
10 | + hg commit -m commit #3 -d 0 0 |
|
@@ -1,11 +1,4 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a b |
|
|||
3 | + hg commit -m commit #0 -d 0 0 |
|
|||
4 | + hg commit -mcomment #1 -d 0 0 |
|
|||
5 | + hg update 0 |
|
|||
6 | + hg commit -A -mcomment #2 -d 0 0 |
|
|||
7 | removing b |
|
1 | removing b | |
8 | + hg update 1 |
|
|||
9 | this update spans a branch affecting the following files: |
|
2 | this update spans a branch affecting the following files: | |
10 | b |
|
3 | b | |
11 | aborting update spanning branches! |
|
4 | aborting update spanning branches! |
@@ -1,13 +1,3 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add foo bar |
|
|||
3 | + hg commit -m commit text -d 0 0 |
|
|||
4 | + hg clone A1 B1 |
|
|||
5 | + hg remove bar |
|
|||
6 | + hg commit -m commit test -d 0 0 |
|
|||
7 | + hg commit -m commit test -d 0 0 |
|
|||
8 | + hg clone A1 A2 |
|
|||
9 | + hg clone B1 B2 |
|
|||
10 | + hg pull ../B1 |
|
|||
11 | pulling from ../B1 |
|
1 | pulling from ../B1 | |
12 | searching for changes |
|
2 | searching for changes | |
13 | adding changesets |
|
3 | adding changesets | |
@@ -15,12 +5,8 b' adding manifests' | |||||
15 | adding file changes |
|
5 | adding file changes | |
16 | added 1 changesets with 1 changes to 1 files |
|
6 | added 1 changesets with 1 changes to 1 files | |
17 | (run 'hg update' to get a working copy) |
|
7 | (run 'hg update' to get a working copy) | |
18 | + hg update -m |
|
|||
19 | + hg commit -m commit test -d 0 0 |
|
|||
20 | bar should remain deleted. |
|
8 | bar should remain deleted. | |
21 | + hg manifest |
|
|||
22 | 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo |
|
9 | 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo | |
23 | + hg pull ../A2 |
|
|||
24 | pulling from ../A2 |
|
10 | pulling from ../A2 | |
25 | searching for changes |
|
11 | searching for changes | |
26 | adding changesets |
|
12 | adding changesets | |
@@ -28,8 +14,5 b' adding manifests' | |||||
28 | adding file changes |
|
14 | adding file changes | |
29 | added 1 changesets with 0 changes to 0 files |
|
15 | added 1 changesets with 0 changes to 0 files | |
30 | (run 'hg update' to get a working copy) |
|
16 | (run 'hg update' to get a working copy) | |
31 | + hg update -m |
|
|||
32 | + hg commit -m commit test -d 0 0 |
|
|||
33 | bar should remain deleted. |
|
17 | bar should remain deleted. | |
34 | + hg manifest |
|
|||
35 | 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo |
|
18 | 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo |
@@ -1,9 +1,6 b'' | |||||
1 | + hg init |
|
|||
2 | Is there an error message when trying to diff non-existing files? |
|
1 | Is there an error message when trying to diff non-existing files? | |
3 | + hg diff not found |
|
|||
4 | not: No such file or directory |
|
2 | not: No such file or directory | |
5 | found: No such file or directory |
|
3 | found: No such file or directory | |
6 | Is there an error message when trying to add non-existing files? |
|
4 | Is there an error message when trying to add non-existing files? | |
7 | + hg add not found |
|
|||
8 | not: No such file or directory |
|
5 | not: No such file or directory | |
9 | found: No such file or directory |
|
6 | found: No such file or directory |
@@ -1,30 +1,21 b'' | |||||
1 | + hg init |
|
|||
2 | + hg addremove |
|
|||
3 | adding foo |
|
1 | adding foo | |
4 | + hg commit -m 1 |
|
|||
5 | + hg verify |
|
|||
6 | checking changesets |
|
2 | checking changesets | |
7 | checking manifests |
|
3 | checking manifests | |
8 | crosschecking files in changesets and manifests |
|
4 | crosschecking files in changesets and manifests | |
9 | checking files |
|
5 | checking files | |
10 | 1 files, 1 changesets, 1 total revisions |
|
6 | 1 files, 1 changesets, 1 total revisions | |
11 | + hg clone http://localhost:20059/ copy |
|
|||
12 | requesting all changes |
|
7 | requesting all changes | |
13 | adding changesets |
|
8 | adding changesets | |
14 | adding manifests |
|
9 | adding manifests | |
15 | adding file changes |
|
10 | adding file changes | |
16 | added 1 changesets with 1 changes to 1 files |
|
11 | added 1 changesets with 1 changes to 1 files | |
17 | + hg verify |
|
|||
18 | checking changesets |
|
12 | checking changesets | |
19 | checking manifests |
|
13 | checking manifests | |
20 | crosschecking files in changesets and manifests |
|
14 | crosschecking files in changesets and manifests | |
21 | checking files |
|
15 | checking files | |
22 | 1 files, 1 changesets, 1 total revisions |
|
16 | 1 files, 1 changesets, 1 total revisions | |
23 | + hg co |
|
|||
24 | foo |
|
17 | foo | |
25 | + hg manifest |
|
|||
26 | 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo |
|
18 | 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo | |
27 | + hg pull |
|
|||
28 | pulling from http://localhost:20059/ |
|
19 | pulling from http://localhost:20059/ | |
29 | searching for changes |
|
20 | searching for changes | |
30 | no changes found |
|
21 | no changes found |
@@ -1,17 +1,7 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add t1 |
|
|||
3 | + hg commit -m 1 -d 0 0 |
|
|||
4 | + hg clone a b |
|
|||
5 | + hg add t2 |
|
|||
6 | + hg commit -m 2 -d 0 0 |
|
|||
7 | + hg add t3 |
|
|||
8 | + hg commit -m 3 -d 0 0 |
|
|||
9 | + hg push ../a |
|
|||
10 | pushing to ../a |
|
1 | pushing to ../a | |
11 | searching for changes |
|
2 | searching for changes | |
12 | abort: unsynced remote changes! |
|
3 | abort: unsynced remote changes! | |
13 | (did you forget to sync? use push -f to force) |
|
4 | (did you forget to sync? use push -f to force) | |
14 | + hg pull ../a |
|
|||
15 | pulling from ../a |
|
5 | pulling from ../a | |
16 | searching for changes |
|
6 | searching for changes | |
17 | adding changesets |
|
7 | adding changesets | |
@@ -19,14 +9,10 b' adding manifests' | |||||
19 | adding file changes |
|
9 | adding file changes | |
20 | added 1 changesets with 1 changes to 1 files |
|
10 | added 1 changesets with 1 changes to 1 files | |
21 | (run 'hg update' to get a working copy) |
|
11 | (run 'hg update' to get a working copy) | |
22 | + hg push ../a |
|
|||
23 | pushing to ../a |
|
12 | pushing to ../a | |
24 | searching for changes |
|
13 | searching for changes | |
25 | abort: push creates new remote branches! |
|
14 | abort: push creates new remote branches! | |
26 | (did you forget to merge? use push -f to force) |
|
15 | (did you forget to merge? use push -f to force) | |
27 | + hg up -m |
|
|||
28 | + hg commit -m 4 -d 0 0 |
|
|||
29 | + hg push ../a |
|
|||
30 | pushing to ../a |
|
16 | pushing to ../a | |
31 | searching for changes |
|
17 | searching for changes | |
32 | adding changesets |
|
18 | adding changesets |
@@ -1,61 +1,40 b'' | |||||
1 | + hg --debug init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m0 -d 0 0 |
|
|||
4 | + hg add b |
|
|||
5 | + hg commit -m1 -d 0 0 |
|
|||
6 | + hg manifest 1 |
|
|||
7 | 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
|
1 | 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a | |
8 | 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b |
|
2 | 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
9 | + hg rawcommit -p 1 -d 0 0 -m2 c |
|
|||
10 | + hg manifest 2 |
|
|||
11 | 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
|
3 | 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a | |
12 | 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b |
|
4 | 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
13 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c |
|
5 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
14 | + hg parents |
|
|||
15 | changeset: 2:9f827976dae4 |
|
6 | changeset: 2:9f827976dae4 | |
16 | tag: tip |
|
7 | tag: tip | |
17 | user: test |
|
8 | user: test | |
18 | date: Thu Jan 1 00:00:00 1970 |
|
9 | date: Thu Jan 1 00:00:00 1970 | |
19 | summary: 2 |
|
10 | summary: 2 | |
20 |
|
11 | |||
21 | + hg rawcommit -p 2 -d 0 0 -m3 b |
|
|||
22 | + hg manifest 3 |
|
|||
23 | 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
|
12 | 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a | |
24 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c |
|
13 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
25 | + hg parents |
|
|||
26 | changeset: 3:c8225a106186 |
|
14 | changeset: 3:c8225a106186 | |
27 | tag: tip |
|
15 | tag: tip | |
28 | user: test |
|
16 | user: test | |
29 | date: Thu Jan 1 00:00:00 1970 |
|
17 | date: Thu Jan 1 00:00:00 1970 | |
30 | summary: 3 |
|
18 | summary: 3 | |
31 |
|
19 | |||
32 | + hg rawcommit -p 3 -d 0 0 -m4 a |
|
|||
33 | + hg manifest 4 |
|
|||
34 | d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
|
20 | d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a | |
35 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c |
|
21 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
36 | + hg parents |
|
|||
37 | changeset: 4:8dfeee82a94b |
|
22 | changeset: 4:8dfeee82a94b | |
38 | tag: tip |
|
23 | tag: tip | |
39 | user: test |
|
24 | user: test | |
40 | date: Thu Jan 1 00:00:00 1970 |
|
25 | date: Thu Jan 1 00:00:00 1970 | |
41 | summary: 4 |
|
26 | summary: 4 | |
42 |
|
27 | |||
43 | + hg rawcommit -p 1 -d 0 0 -m5 c |
|
|||
44 | + hg manifest 5 |
|
|||
45 | 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
|
28 | 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a | |
46 | 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b |
|
29 | 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
47 | 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c |
|
30 | 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c | |
48 | + hg parents |
|
|||
49 | changeset: 4:8dfeee82a94b |
|
31 | changeset: 4:8dfeee82a94b | |
50 | user: test |
|
32 | user: test | |
51 | date: Thu Jan 1 00:00:00 1970 |
|
33 | date: Thu Jan 1 00:00:00 1970 | |
52 | summary: 4 |
|
34 | summary: 4 | |
53 |
|
35 | |||
54 | + hg rawcommit -p 4 -p 5 -d 0 0 -m6 |
|
|||
55 | + hg manifest 6 |
|
|||
56 | d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
|
36 | d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a | |
57 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c |
|
37 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
58 | + hg parents |
|
|||
59 | changeset: 6:c0e932ecae5e |
|
38 | changeset: 6:c0e932ecae5e | |
60 | tag: tip |
|
39 | tag: tip | |
61 | parent: 4:8dfeee82a94b |
|
40 | parent: 4:8dfeee82a94b | |
@@ -64,11 +43,8 b' user: test' | |||||
64 | date: Thu Jan 1 00:00:00 1970 |
|
43 | date: Thu Jan 1 00:00:00 1970 | |
65 | summary: 6 |
|
44 | summary: 6 | |
66 |
|
45 | |||
67 | + hg rawcommit -p 6 -d 0 0 -m7 |
|
|||
68 | + hg manifest 7 |
|
|||
69 | d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
|
46 | d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a | |
70 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c |
|
47 | 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
71 | + hg parents |
|
|||
72 | changeset: 7:3a157da4365d |
|
48 | changeset: 7:3a157da4365d | |
73 | tag: tip |
|
49 | tag: tip | |
74 | user: test |
|
50 | user: test |
@@ -1,17 +1,9 b'' | |||||
1 | + hg init |
|
|||
2 | + hg addremove |
|
|||
3 | adding foo |
|
1 | adding foo | |
4 | + hg commit -m 1 |
|
|||
5 | + hg verify |
|
|||
6 | checking changesets |
|
2 | checking changesets | |
7 | checking manifests |
|
3 | checking manifests | |
8 | crosschecking files in changesets and manifests |
|
4 | crosschecking files in changesets and manifests | |
9 | checking files |
|
5 | checking files | |
10 | 1 files, 1 changesets, 1 total revisions |
|
6 | 1 files, 1 changesets, 1 total revisions | |
11 | + hg clone . ../branch |
|
|||
12 | + hg co |
|
|||
13 | + hg commit -m 2 |
|
|||
14 | + hg pull ../branch |
|
|||
15 | pulling from ../branch |
|
7 | pulling from ../branch | |
16 | searching for changes |
|
8 | searching for changes | |
17 | adding changesets |
|
9 | adding changesets | |
@@ -19,14 +11,11 b' adding manifests' | |||||
19 | adding file changes |
|
11 | adding file changes | |
20 | added 1 changesets with 1 changes to 1 files |
|
12 | added 1 changesets with 1 changes to 1 files | |
21 | (run 'hg update' to get a working copy) |
|
13 | (run 'hg update' to get a working copy) | |
22 | + hg verify |
|
|||
23 | checking changesets |
|
14 | checking changesets | |
24 | checking manifests |
|
15 | checking manifests | |
25 | crosschecking files in changesets and manifests |
|
16 | crosschecking files in changesets and manifests | |
26 | checking files |
|
17 | checking files | |
27 | 1 files, 2 changesets, 2 total revisions |
|
18 | 1 files, 2 changesets, 2 total revisions | |
28 | + hg co |
|
|||
29 | foo |
|
19 | foo | |
30 | bar |
|
20 | bar | |
31 | + hg manifest |
|
|||
32 | 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo |
|
21 | 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo |
@@ -1,15 +1,9 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m test -d 0 0 |
|
|||
4 | + hg history |
|
|||
5 | changeset: 0:acb14030fe0a |
|
1 | changeset: 0:acb14030fe0a | |
6 | tag: tip |
|
2 | tag: tip | |
7 | user: test |
|
3 | user: test | |
8 | date: Thu Jan 1 00:00:00 1970 |
|
4 | date: Thu Jan 1 00:00:00 1970 | |
9 | summary: test |
|
5 | summary: test | |
10 |
|
6 | |||
11 | + hg tag -d 0 0 bleah |
|
|||
12 | + hg history |
|
|||
13 | changeset: 1:863197ef0378 |
|
7 | changeset: 1:863197ef0378 | |
14 | tag: tip |
|
8 | tag: tip | |
15 | user: test |
|
9 | user: test | |
@@ -22,7 +16,6 b' user: test' | |||||
22 | date: Thu Jan 1 00:00:00 1970 |
|
16 | date: Thu Jan 1 00:00:00 1970 | |
23 | summary: test |
|
17 | summary: test | |
24 |
|
18 | |||
25 | + hg tag -d 0 0 bleah2 |
|
|||
26 | abort: working copy of .hgtags is changed! |
|
19 | abort: working copy of .hgtags is changed! | |
27 | (please commit .hgtags manually) |
|
20 | (please commit .hgtags manually) | |
28 | failed |
|
21 | failed |
@@ -9,7 +9,7 b' hg add a' | |||||
9 | hg commit -m "test" -d "0 0" |
|
9 | hg commit -m "test" -d "0 0" | |
10 | hg co |
|
10 | hg co | |
11 | hg identify |
|
11 | hg identify | |
12 |
T=`hg |
|
12 | T=`hg tip -v | head -n 1 | cut -d : -f 3` | |
13 | echo "$T first" > .hgtags |
|
13 | echo "$T first" > .hgtags | |
14 | cat .hgtags |
|
14 | cat .hgtags | |
15 | hg add .hgtags |
|
15 | hg add .hgtags |
@@ -1,39 +1,15 b'' | |||||
1 | + hg init |
|
|||
2 | + hg id |
|
|||
3 | unknown |
|
1 | unknown | |
4 | + hg add a |
|
|||
5 | + hg commit -m test -d 0 0 |
|
|||
6 | + hg co |
|
|||
7 | + hg identify |
|
|||
8 | acb14030fe0a tip |
|
2 | acb14030fe0a tip | |
9 | + hg -q tip |
|
|||
10 | acb14030fe0a21b60322c440ad2d20cf7685a376 first |
|
3 | acb14030fe0a21b60322c440ad2d20cf7685a376 first | |
11 | + hg add .hgtags |
|
4 | tip 1:b9154636be938d3d431e75a7c906504a079bfe07 | |
12 | + hg commit -m add tags -d 0 0 |
|
|||
13 | + hg tags |
|
|||
14 | tip 1:b53d0e1f3043ecbccf1b9ad2cea562c1b50462b2 |
|
|||
15 | first 0:acb14030fe0a21b60322c440ad2d20cf7685a376 |
|
5 | first 0:acb14030fe0a21b60322c440ad2d20cf7685a376 | |
16 | hg -q tip ?:? |
|
6 | b9154636be93 tip | |
17 | + hg identify |
|
|||
18 | b53d0e1f3043 tip |
|
|||
19 | + hg status |
|
|||
20 | M a |
|
7 | M a | |
21 | + hg identify |
|
8 | b9154636be93+ tip | |
22 | b53d0e1f3043+ tip |
|
|||
23 | + hg co first |
|
|||
24 | + hg id |
|
|||
25 | acb14030fe0a+ first |
|
9 | acb14030fe0a+ first | |
26 | + hg -v id |
|
|||
27 | acb14030fe0a21b60322c440ad2d20cf7685a376+ first |
|
10 | acb14030fe0a21b60322c440ad2d20cf7685a376+ first | |
28 | + hg status |
|
|||
29 | M a |
|
11 | M a | |
30 | + hg add b |
|
|||
31 | + hg commit -m branch -d 0 0 |
|
|||
32 | + hg id |
|
|||
33 | c8edf04160c7 tip |
|
12 | c8edf04160c7 tip | |
34 | + hg co -m 1 |
|
13 | c8edf04160c7+b9154636be93+ tip | |
35 | + hg id |
|
|||
36 | c8edf04160c7+b53d0e1f3043+ tip |
|
|||
37 | + hg status |
|
|||
38 | M .hgtags |
|
14 | M .hgtags | |
39 | M a |
|
15 | M a |
@@ -1,28 +1,18 b'' | |||||
1 | + hg init |
|
|||
2 | + hg add a |
|
|||
3 | + hg commit -m test -d 0 0 |
|
|||
4 | + hg verify |
|
|||
5 | checking changesets |
|
1 | checking changesets | |
6 | checking manifests |
|
2 | checking manifests | |
7 | crosschecking files in changesets and manifests |
|
3 | crosschecking files in changesets and manifests | |
8 | checking files |
|
4 | checking files | |
9 | 1 files, 1 changesets, 1 total revisions |
|
5 | 1 files, 1 changesets, 1 total revisions | |
10 | + hg parents |
|
|||
11 | changeset: 0:acb14030fe0a |
|
6 | changeset: 0:acb14030fe0a | |
12 | tag: tip |
|
7 | tag: tip | |
13 | user: test |
|
8 | user: test | |
14 | date: Thu Jan 1 00:00:00 1970 |
|
9 | date: Thu Jan 1 00:00:00 1970 | |
15 | summary: test |
|
10 | summary: test | |
16 |
|
11 | |||
17 | + hg status |
|
|||
18 | + hg undo |
|
|||
19 | rolling back last transaction |
|
12 | rolling back last transaction | |
20 | + hg verify |
|
|||
21 | checking changesets |
|
13 | checking changesets | |
22 | checking manifests |
|
14 | checking manifests | |
23 | crosschecking files in changesets and manifests |
|
15 | crosschecking files in changesets and manifests | |
24 | checking files |
|
16 | checking files | |
25 | 0 files, 0 changesets, 0 total revisions |
|
17 | 0 files, 0 changesets, 0 total revisions | |
26 | + hg parents |
|
|||
27 | + hg status |
|
|||
28 | A a |
|
18 | A a |
@@ -1,10 +1,3 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 |
|
|||
8 | pulling from ../a |
|
1 | pulling from ../a | |
9 | searching for changes |
|
2 | searching for changes | |
10 | warning: pulling from an unrelated repository! |
|
3 | warning: pulling from an unrelated repository! | |
@@ -13,7 +6,6 b' adding manifests' | |||||
13 | adding file changes |
|
6 | adding file changes | |
14 | added 1 changesets with 1 changes to 1 files |
|
7 | added 1 changesets with 1 changes to 1 files | |
15 | (run 'hg update' to get a working copy) |
|
8 | (run 'hg update' to get a working copy) | |
16 | + hg heads |
|
|||
17 | changeset: 1:9a79c33a9db3 |
|
9 | changeset: 1:9a79c33a9db3 | |
18 | tag: tip |
|
10 | tag: tip | |
19 | user: a |
|
11 | user: a |
@@ -1,23 +1,12 b'' | |||||
1 | + hg init |
|
|||
2 | + hg addremove |
|
|||
3 | adding a |
|
1 | adding a | |
4 | + hg commit -m 1 -d 0 0 |
|
|||
5 | + hg clone . ../r2 |
|
|||
6 | + hg up |
|
|||
7 | + hg diff |
|
|||
8 | diff -r c19d34741b0a a |
|
2 | diff -r c19d34741b0a a | |
9 | --- a/a |
|
3 | --- a/a | |
10 | +++ b/a |
|
4 | +++ b/a | |
11 | @@ -1,1 +1,1 @@ |
|
5 | @@ -1,1 +1,1 @@ | |
12 | -a |
|
6 | -a | |
13 | +abc |
|
7 | +abc | |
14 | + hg addremove |
|
|||
15 | adding b |
|
8 | adding b | |
16 | + hg commit -m 2 -d 0 0 |
|
|||
17 | + hg -q pull ../r1 |
|
|||
18 | + hg status |
|
|||
19 | M a |
|
9 | M a | |
20 | + hg --debug up |
|
|||
21 | resolving manifests |
|
10 | resolving manifests | |
22 | force None allow None moddirstate True linear True |
|
11 | force None allow None moddirstate True linear True | |
23 | ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e |
|
12 | ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e | |
@@ -27,18 +16,15 b' getting b' | |||||
27 | merging a |
|
16 | merging a | |
28 | resolving a |
|
17 | resolving a | |
29 | file a: other d730145abbf9 ancestor b789fdd96dc2 |
|
18 | file a: other d730145abbf9 ancestor b789fdd96dc2 | |
30 | + hg --debug up -m |
|
|||
31 | resolving manifests |
|
19 | resolving manifests | |
32 | force None allow 1 moddirstate True linear True |
|
20 | force None allow 1 moddirstate True linear True | |
33 | ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e |
|
21 | ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e | |
34 | + hg parents |
|
|||
35 | changeset: 1:1e71731e6fbb |
|
22 | changeset: 1:1e71731e6fbb | |
36 | tag: tip |
|
23 | tag: tip | |
37 | user: test |
|
24 | user: test | |
38 | date: Thu Jan 1 00:00:00 1970 |
|
25 | date: Thu Jan 1 00:00:00 1970 | |
39 | summary: 2 |
|
26 | summary: 2 | |
40 |
|
27 | |||
41 | + hg -v history |
|
|||
42 | changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
28 | changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 | |
43 | tag: tip |
|
29 | tag: tip | |
44 | user: test |
|
30 | user: test | |
@@ -56,7 +42,6 b' description:' | |||||
56 | 1 |
|
42 | 1 | |
57 |
|
43 | |||
58 |
|
44 | |||
59 | + hg diff |
|
|||
60 | diff -r 1e71731e6fbb a |
|
45 | diff -r 1e71731e6fbb a | |
61 | --- a/a |
|
46 | --- a/a | |
62 | +++ b/a |
|
47 | +++ b/a |
@@ -1,5 +1,3 b'' | |||||
1 | + hg init |
|
|||
2 | + hg addremove |
|
|||
3 | adding fennel |
|
1 | adding fennel | |
4 | adding fenugreek |
|
2 | adding fenugreek | |
5 | adding fiddlehead |
|
3 | adding fiddlehead | |
@@ -14,8 +12,6 b' adding mammals/skunk' | |||||
14 | adding mammals/Procyonidae/cacomistle |
|
12 | adding mammals/Procyonidae/cacomistle | |
15 | adding mammals/Procyonidae/coatimundi |
|
13 | adding mammals/Procyonidae/coatimundi | |
16 | adding mammals/Procyonidae/raccoon |
|
14 | adding mammals/Procyonidae/raccoon | |
17 | + hg commit -m commit #0 -d 0 0 |
|
|||
18 | + hg debugwalk |
|
|||
19 | f fennel fennel |
|
15 | f fennel fennel | |
20 | f fenugreek fenugreek |
|
16 | f fenugreek fenugreek | |
21 | f fiddlehead fiddlehead |
|
17 | f fiddlehead fiddlehead | |
@@ -30,85 +26,62 b' f mammals/skunk mamma' | |||||
30 | f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
|
26 | f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle | |
31 | f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
|
27 | f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi | |
32 | f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
|
28 | f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon | |
33 | + hg debugwalk |
|
|||
34 | f mammals/skunk skunk |
|
29 | f mammals/skunk skunk | |
35 | f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
|
30 | f mammals/Procyonidae/cacomistle Procyonidae/cacomistle | |
36 | f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
|
31 | f mammals/Procyonidae/coatimundi Procyonidae/coatimundi | |
37 | f mammals/Procyonidae/raccoon Procyonidae/raccoon |
|
32 | f mammals/Procyonidae/raccoon Procyonidae/raccoon | |
38 | + hg debugwalk Procyonidae |
|
|||
39 | f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
|
33 | f mammals/Procyonidae/cacomistle Procyonidae/cacomistle | |
40 | f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
|
34 | f mammals/Procyonidae/coatimundi Procyonidae/coatimundi | |
41 | f mammals/Procyonidae/raccoon Procyonidae/raccoon |
|
35 | f mammals/Procyonidae/raccoon Procyonidae/raccoon | |
42 | + hg debugwalk |
|
|||
43 | f mammals/Procyonidae/cacomistle cacomistle |
|
36 | f mammals/Procyonidae/cacomistle cacomistle | |
44 | f mammals/Procyonidae/coatimundi coatimundi |
|
37 | f mammals/Procyonidae/coatimundi coatimundi | |
45 | f mammals/Procyonidae/raccoon raccoon |
|
38 | f mammals/Procyonidae/raccoon raccoon | |
46 | + hg debugwalk .. |
|
|||
47 | f mammals/skunk ../skunk |
|
39 | f mammals/skunk ../skunk | |
48 | f mammals/Procyonidae/cacomistle cacomistle |
|
40 | f mammals/Procyonidae/cacomistle cacomistle | |
49 | f mammals/Procyonidae/coatimundi coatimundi |
|
41 | f mammals/Procyonidae/coatimundi coatimundi | |
50 | f mammals/Procyonidae/raccoon raccoon |
|
42 | f mammals/Procyonidae/raccoon raccoon | |
51 | + hg debugwalk ../beans |
|
|||
52 | f beans/black ../beans/black |
|
43 | f beans/black ../beans/black | |
53 | f beans/borlotti ../beans/borlotti |
|
44 | f beans/borlotti ../beans/borlotti | |
54 | f beans/kidney ../beans/kidney |
|
45 | f beans/kidney ../beans/kidney | |
55 | f beans/navy ../beans/navy |
|
46 | f beans/navy ../beans/navy | |
56 | f beans/pinto ../beans/pinto |
|
47 | f beans/pinto ../beans/pinto | |
57 | f beans/turtle ../beans/turtle |
|
48 | f beans/turtle ../beans/turtle | |
58 | + hg debugwalk |
|
|||
59 | f mammals/skunk skunk |
|
49 | f mammals/skunk skunk | |
60 | f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
|
50 | f mammals/Procyonidae/cacomistle Procyonidae/cacomistle | |
61 | f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
|
51 | f mammals/Procyonidae/coatimundi Procyonidae/coatimundi | |
62 | f mammals/Procyonidae/raccoon Procyonidae/raccoon |
|
52 | f mammals/Procyonidae/raccoon Procyonidae/raccoon | |
63 | + hg debugwalk -Ibeans |
|
|||
64 | f beans/black beans/black |
|
53 | f beans/black beans/black | |
65 | f beans/borlotti beans/borlotti |
|
54 | f beans/borlotti beans/borlotti | |
66 | f beans/kidney beans/kidney |
|
55 | f beans/kidney beans/kidney | |
67 | f beans/navy beans/navy |
|
56 | f beans/navy beans/navy | |
68 | f beans/pinto beans/pinto |
|
57 | f beans/pinto beans/pinto | |
69 | f beans/turtle beans/turtle |
|
58 | f beans/turtle beans/turtle | |
70 | + hg debugwalk mammals/../beans/b* |
|
|||
71 | f beans/black beans/black |
|
59 | f beans/black beans/black | |
72 | f beans/borlotti beans/borlotti |
|
60 | f beans/borlotti beans/borlotti | |
73 | + hg debugwalk -X*/Procyonidae mammals |
|
|||
74 | f mammals/skunk mammals/skunk |
|
61 | f mammals/skunk mammals/skunk | |
75 | + hg debugwalk path:mammals |
|
|||
76 | f mammals/skunk mammals/skunk |
|
62 | f mammals/skunk mammals/skunk | |
77 | f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
|
63 | f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle | |
78 | f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
|
64 | f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi | |
79 | f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
|
65 | f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon | |
80 | + hg debugwalk .. |
|
|||
81 | abort: .. not under repository root |
|
66 | abort: .. not under repository root | |
82 | + hg debugwalk beans/../.. |
|
|||
83 | abort: beans/../.. not under repository root |
|
67 | abort: beans/../.. not under repository root | |
84 | + hg debugwalk glob:* |
|
|||
85 | f fennel fennel |
|
68 | f fennel fennel | |
86 | f fenugreek fenugreek |
|
69 | f fenugreek fenugreek | |
87 | f fiddlehead fiddlehead |
|
70 | f fiddlehead fiddlehead | |
88 | f glob:glob glob:glob |
|
71 | f glob:glob glob:glob | |
89 | + hg debugwalk re:.*[kb]$ |
|
|||
90 | f fenugreek fenugreek |
|
72 | f fenugreek fenugreek | |
91 | f glob:glob glob:glob |
|
73 | f glob:glob glob:glob | |
92 | f beans/black beans/black |
|
74 | f beans/black beans/black | |
93 | f mammals/skunk mammals/skunk |
|
75 | f mammals/skunk mammals/skunk | |
94 | + hg debugwalk path:beans/black |
|
|||
95 | f beans/black beans/black |
|
76 | f beans/black beans/black | |
96 | + hg debugwalk beans beans/* |
|
|||
97 | f beans/black beans/black |
|
77 | f beans/black beans/black | |
98 | f beans/borlotti beans/borlotti |
|
78 | f beans/borlotti beans/borlotti | |
99 | f beans/kidney beans/kidney |
|
79 | f beans/kidney beans/kidney | |
100 | f beans/navy beans/navy |
|
80 | f beans/navy beans/navy | |
101 | f beans/pinto beans/pinto |
|
81 | f beans/pinto beans/pinto | |
102 | f beans/turtle beans/turtle |
|
82 | f beans/turtle beans/turtle | |
103 | + hg debugwalk j* |
|
|||
104 | + hg debugwalk NOEXIST |
|
|||
105 | NOEXIST: No such file or directory |
|
83 | NOEXIST: No such file or directory | |
106 | + hg debugwalk fifo |
|
|||
107 | fifo: unsupported file type (type is fifo) |
|
84 | fifo: unsupported file type (type is fifo) | |
108 | + hg debugwalk fenugreek |
|
85 | m fenugreek fenugreek | |
109 | m fenugreek fenugreek |
|
86 | m fenugreek fenugreek | |
110 | + hg rm fenugreek |
|
|||
111 | + hg debugwalk fenugreek |
|
|||
112 | m fenugreek fenugreek |
|
|||
113 | + hg debugwalk new |
|
|||
114 | f new new |
|
87 | f new new |
General Comments 0
You need to be logged in to leave comments.
Login now