Mercurial > hg
annotate tests/test-incoming-outgoing.t @ 45066:5a80915e99ce
commitctx: document the manifest writing function
Same spirit as for `_filecommit` lets document the input and output before
making any change or improvement.
This is part of a larger refactoring/cleanup of the commitctx code to clarify
and augment the logic gathering metadata useful for copy tracing. The current
code is a tad too long and entangled to make such update easy. We start with
easy and small cleanup.
Differential Revision: https://phab.mercurial-scm.org/D8705
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 06 Jul 2020 21:08:15 +0200 |
parents | f1186c292d03 |
children | 2f2682f40ea0 |
rev | line source |
---|---|
22046
7a9cbb315d84
tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents:
15993
diff
changeset
|
1 #require serve |
15446
c5c9ca3719f9
tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents:
14981
diff
changeset
|
2 |
13956
ffb5c09ba822
tests: remove redundant mkdir
Martin Geisler <mg@lazybytes.net>
parents:
12643
diff
changeset
|
3 $ hg init test |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
4 $ cd test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
5 $ for i in 0 1 2 3 4 5 6 7 8; do |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
6 > echo $i >> foo |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
7 > hg commit -A -m $i |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
8 > done |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
9 adding foo |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
10 $ hg verify |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
11 checking changesets |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
12 checking manifests |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
13 crosschecking files in changesets and manifests |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
14 checking files |
39489
f1186c292d03
verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents:
39480
diff
changeset
|
15 checked 9 changesets with 9 changes to 1 files |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
16 $ hg serve -p $HGPORT -d --pid-file=hg.pid |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
17 $ cat hg.pid >> $DAEMON_PIDS |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
18 $ cd .. |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
19 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
20 $ hg init new |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
21 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
22 http incoming |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
23 |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12156
diff
changeset
|
24 $ hg -R new incoming http://localhost:$HGPORT/ |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12377
diff
changeset
|
25 comparing with http://localhost:$HGPORT/ |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
26 changeset: 0:00a43fa82f62 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
27 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
28 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
29 summary: 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
30 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
31 changeset: 1:5460a410df01 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
32 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
33 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
34 summary: 1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
35 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
36 changeset: 2:d9f42cd1a1ec |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
37 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
38 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
39 summary: 2 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
40 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
41 changeset: 3:376476025137 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
42 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
43 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
44 summary: 3 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
45 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
46 changeset: 4:70d7eb252d49 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
47 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
48 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
49 summary: 4 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
50 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
51 changeset: 5:ad284ee3b5ee |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
52 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
53 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
54 summary: 5 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
55 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
56 changeset: 6:e9229f2de384 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
57 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
58 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
59 summary: 6 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
60 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
61 changeset: 7:d152815bb8db |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
62 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
63 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
64 summary: 7 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
65 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
66 changeset: 8:e4feb4ac9035 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
67 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
68 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
69 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
70 summary: 8 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
71 |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12156
diff
changeset
|
72 $ hg -R new incoming -r 4 http://localhost:$HGPORT/ |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12377
diff
changeset
|
73 comparing with http://localhost:$HGPORT/ |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
74 changeset: 0:00a43fa82f62 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
75 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
76 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
77 summary: 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
78 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
79 changeset: 1:5460a410df01 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
80 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
81 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
82 summary: 1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
83 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
84 changeset: 2:d9f42cd1a1ec |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
85 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
86 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
87 summary: 2 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
88 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
89 changeset: 3:376476025137 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
90 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
91 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
92 summary: 3 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
93 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
94 changeset: 4:70d7eb252d49 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
95 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
96 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
97 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
98 summary: 4 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
99 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
100 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
101 local incoming |
2260
99d6cae511f7
add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
102 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
103 $ hg -R new incoming test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
104 comparing with test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
105 changeset: 0:00a43fa82f62 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
106 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
107 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
108 summary: 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
109 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
110 changeset: 1:5460a410df01 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
111 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
112 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
113 summary: 1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
114 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
115 changeset: 2:d9f42cd1a1ec |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
116 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
117 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
118 summary: 2 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
119 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
120 changeset: 3:376476025137 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
121 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
122 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
123 summary: 3 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
124 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
125 changeset: 4:70d7eb252d49 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
126 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
127 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
128 summary: 4 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
129 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
130 changeset: 5:ad284ee3b5ee |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
131 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
132 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
133 summary: 5 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
134 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
135 changeset: 6:e9229f2de384 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
136 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
137 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
138 summary: 6 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
139 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
140 changeset: 7:d152815bb8db |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
141 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
142 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
143 summary: 7 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
144 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
145 changeset: 8:e4feb4ac9035 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
146 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
147 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
148 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
149 summary: 8 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
150 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
151 $ hg -R new incoming -r 4 test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
152 comparing with test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
153 changeset: 0:00a43fa82f62 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
154 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
155 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
156 summary: 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
157 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
158 changeset: 1:5460a410df01 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
159 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
160 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
161 summary: 1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
162 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
163 changeset: 2:d9f42cd1a1ec |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
164 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
165 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
166 summary: 2 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
167 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
168 changeset: 3:376476025137 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
169 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
170 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
171 summary: 3 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
172 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
173 changeset: 4:70d7eb252d49 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
174 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
175 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
176 summary: 4 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
177 |
2260
99d6cae511f7
add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
178 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
179 limit to 2 changesets |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
180 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
181 $ hg -R new incoming -l 2 test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
182 comparing with test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
183 changeset: 0:00a43fa82f62 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
184 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
185 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
186 summary: 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
187 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
188 changeset: 1:5460a410df01 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
189 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
190 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
191 summary: 1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
192 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
193 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
194 limit to 2 changesets, test with -p --git |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
195 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
196 $ hg -R new incoming -l 2 -p --git test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
197 comparing with test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
198 changeset: 0:00a43fa82f62 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
199 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
200 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
201 summary: 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
202 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
203 diff --git a/foo b/foo |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
204 new file mode 100644 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
205 --- /dev/null |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
206 +++ b/foo |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
207 @@ -0,0 +1,1 @@ |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
208 +0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
209 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
210 changeset: 1:5460a410df01 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
211 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
212 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
213 summary: 1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
214 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
215 diff --git a/foo b/foo |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
216 --- a/foo |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
217 +++ b/foo |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
218 @@ -1,1 +1,2 @@ |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
219 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
220 +1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
221 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
222 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
223 test with --bundle |
2260
99d6cae511f7
add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
224 |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12156
diff
changeset
|
225 $ hg -R new incoming --bundle test.hg http://localhost:$HGPORT/ |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12377
diff
changeset
|
226 comparing with http://localhost:$HGPORT/ |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
227 changeset: 0:00a43fa82f62 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
228 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
229 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
230 summary: 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
231 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
232 changeset: 1:5460a410df01 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
233 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
234 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
235 summary: 1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
236 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
237 changeset: 2:d9f42cd1a1ec |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
238 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
239 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
240 summary: 2 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
241 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
242 changeset: 3:376476025137 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
243 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
244 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
245 summary: 3 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
246 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
247 changeset: 4:70d7eb252d49 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
248 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
249 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
250 summary: 4 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
251 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
252 changeset: 5:ad284ee3b5ee |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
253 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
254 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
255 summary: 5 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
256 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
257 changeset: 6:e9229f2de384 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
258 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
259 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
260 summary: 6 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
261 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
262 changeset: 7:d152815bb8db |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
263 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
264 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
265 summary: 7 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
266 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
267 changeset: 8:e4feb4ac9035 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
268 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
269 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
270 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
271 summary: 8 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
272 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
273 $ hg -R new incoming --bundle test2.hg test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
274 comparing with test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
275 changeset: 0:00a43fa82f62 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
276 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
277 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
278 summary: 0 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
279 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
280 changeset: 1:5460a410df01 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
281 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
282 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
283 summary: 1 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
284 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
285 changeset: 2:d9f42cd1a1ec |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
286 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
287 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
288 summary: 2 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
289 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
290 changeset: 3:376476025137 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
291 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
292 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
293 summary: 3 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
294 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
295 changeset: 4:70d7eb252d49 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
296 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
297 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
298 summary: 4 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
299 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
300 changeset: 5:ad284ee3b5ee |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
301 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
302 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
303 summary: 5 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
304 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
305 changeset: 6:e9229f2de384 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
306 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
307 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
308 summary: 6 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
309 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
310 changeset: 7:d152815bb8db |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
311 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
312 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
313 summary: 7 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
314 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
315 changeset: 8:e4feb4ac9035 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
316 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
317 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
318 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
319 summary: 8 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
320 |
2260
99d6cae511f7
add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
321 |
99d6cae511f7
add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
322 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
323 test the resulting bundles |
2260
99d6cae511f7
add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
324 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
325 $ hg init temp |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
326 $ hg init temp2 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
327 $ hg -R temp unbundle test.hg |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
328 adding changesets |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
329 adding manifests |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
330 adding file changes |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
331 added 9 changesets with 9 changes to 1 files |
39480
89630d0b3e23
phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents:
35438
diff
changeset
|
332 new changesets 00a43fa82f62:e4feb4ac9035 (9 drafts) |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
333 (run 'hg update' to get a working copy) |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
334 $ hg -R temp2 unbundle test2.hg |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
335 adding changesets |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
336 adding manifests |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
337 adding file changes |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
338 added 9 changesets with 9 changes to 1 files |
39480
89630d0b3e23
phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents:
35438
diff
changeset
|
339 new changesets 00a43fa82f62:e4feb4ac9035 (9 drafts) |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
340 (run 'hg update' to get a working copy) |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
341 $ hg -R temp tip |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
342 changeset: 8:e4feb4ac9035 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
343 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
344 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
345 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
346 summary: 8 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
347 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
348 $ hg -R temp2 tip |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
349 changeset: 8:e4feb4ac9035 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
350 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
351 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
352 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
353 summary: 8 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
354 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
355 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
356 $ rm -r temp temp2 new |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
357 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
358 test outgoing |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
359 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
360 $ hg clone test test-dev |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
361 updating to branch default |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
362 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
363 $ cd test-dev |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
364 $ for i in 9 10 11 12 13; do |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
365 > echo $i >> foo |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
366 > hg commit -A -m $i |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
367 > done |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
368 $ hg verify |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
369 checking changesets |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
370 checking manifests |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
371 crosschecking files in changesets and manifests |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
372 checking files |
39489
f1186c292d03
verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents:
39480
diff
changeset
|
373 checked 14 changesets with 14 changes to 1 files |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
374 $ cd .. |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
375 $ hg -R test-dev outgoing test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
376 comparing with test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
377 searching for changes |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
378 changeset: 9:d89d4abea5bc |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
379 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
380 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
381 summary: 9 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
382 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
383 changeset: 10:820095aa7158 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
384 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
385 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
386 summary: 10 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
387 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
388 changeset: 11:09ede2f3a638 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
389 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
390 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
391 summary: 11 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
392 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
393 changeset: 12:e576b1bed305 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
394 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
395 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
396 summary: 12 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
397 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
398 changeset: 13:96bbff09a7cc |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
399 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
400 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
401 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
402 summary: 13 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
403 |
15992
963c8a553524
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents:
15446
diff
changeset
|
404 test outgoing with secret changesets |
963c8a553524
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents:
15446
diff
changeset
|
405 |
963c8a553524
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents:
15446
diff
changeset
|
406 $ hg -R test-dev phase --force --secret 9 |
963c8a553524
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents:
15446
diff
changeset
|
407 $ hg -R test-dev outgoing test |
963c8a553524
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents:
15446
diff
changeset
|
408 comparing with test |
963c8a553524
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents:
15446
diff
changeset
|
409 searching for changes |
15993
0b05e0bfdc1c
scmutil: unify some 'no changes found' messages
Matt Mackall <mpm@selenic.com>
parents:
15992
diff
changeset
|
410 no changes found (ignored 5 secret changesets) |
15992
963c8a553524
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents:
15446
diff
changeset
|
411 [1] |
963c8a553524
outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents:
15446
diff
changeset
|
412 $ hg -R test-dev phase --draft -r 'head()' |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
413 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
414 limit to 3 changesets |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
415 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
416 $ hg -R test-dev outgoing -l 3 test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
417 comparing with test |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
418 searching for changes |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
419 changeset: 9:d89d4abea5bc |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
420 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
421 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
422 summary: 9 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
423 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
424 changeset: 10:820095aa7158 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
425 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
426 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
427 summary: 10 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
428 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
429 changeset: 11:09ede2f3a638 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
430 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
431 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
432 summary: 11 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
433 |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12156
diff
changeset
|
434 $ hg -R test-dev outgoing http://localhost:$HGPORT/ |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12377
diff
changeset
|
435 comparing with http://localhost:$HGPORT/ |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
436 searching for changes |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
437 changeset: 9:d89d4abea5bc |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
438 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
439 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
440 summary: 9 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
441 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
442 changeset: 10:820095aa7158 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
443 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
444 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
445 summary: 10 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
446 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
447 changeset: 11:09ede2f3a638 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
448 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
449 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
450 summary: 11 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
451 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
452 changeset: 12:e576b1bed305 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
453 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
454 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
455 summary: 12 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
456 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
457 changeset: 13:96bbff09a7cc |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
458 tag: tip |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
459 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
460 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
461 summary: 13 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
462 |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12156
diff
changeset
|
463 $ hg -R test-dev outgoing -r 11 http://localhost:$HGPORT/ |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12377
diff
changeset
|
464 comparing with http://localhost:$HGPORT/ |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
465 searching for changes |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
466 changeset: 9:d89d4abea5bc |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
467 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
468 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
469 summary: 9 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
470 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
471 changeset: 10:820095aa7158 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
472 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
473 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
474 summary: 10 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
475 |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
476 changeset: 11:09ede2f3a638 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
477 user: test |
12156
4c94b6d0fb1c
tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents:
12118
diff
changeset
|
478 date: Thu Jan 01 00:00:00 1970 +0000 |
12118
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
479 summary: 11 |
ab2ccdce985d
tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
10398
diff
changeset
|
480 |
14981
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
481 |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
482 incoming from empty remote repository |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
483 |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
484 $ hg init r1 |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
485 $ hg init r2 |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
486 $ echo a > r1/foo |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
487 $ hg -R r1 ci -Ama |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
488 adding foo |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
489 $ hg -R r1 incoming r2 --bundle x.hg |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
490 comparing with r2 |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
491 searching for changes |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
492 no changes found |
192e02680d09
setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents:
13956
diff
changeset
|
493 [1] |
35438
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
494 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
495 Create a "split" repo that pulls from r1 and pushes to r2, using default-push |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
496 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
497 $ hg clone r1 split |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
498 updating to branch default |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
499 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
500 $ cat > split/.hg/hgrc << EOF |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
501 > [paths] |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
502 > default = $TESTTMP/r3 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
503 > default-push = $TESTTMP/r2 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
504 > EOF |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
505 $ hg -R split outgoing |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
506 comparing with $TESTTMP/r2 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
507 searching for changes |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
508 changeset: 0:3e92d79f743a |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
509 tag: tip |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
510 user: test |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
511 date: Thu Jan 01 00:00:00 1970 +0000 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
512 summary: a |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
513 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
514 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
515 Use default:pushurl instead of default-push |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
516 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
517 Windows needs a leading slash to make a URL that passes all of the checks |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
518 $ WD=`pwd` |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
519 #if windows |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
520 $ WD="/$WD" |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
521 #endif |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
522 $ cat > split/.hg/hgrc << EOF |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
523 > [paths] |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
524 > default = $WD/r3 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
525 > default:pushurl = file://$WD/r2 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
526 > EOF |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
527 $ hg -R split outgoing |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
528 comparing with file:/*/$TESTTMP/r2 (glob) |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
529 searching for changes |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
530 changeset: 0:3e92d79f743a |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
531 tag: tip |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
532 user: test |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
533 date: Thu Jan 01 00:00:00 1970 +0000 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
534 summary: a |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
535 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
536 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
537 Push and then double-check outgoing |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
538 |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
539 $ echo a >> split/foo |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
540 $ hg -R split commit -Ama |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
541 $ hg -R split push |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
542 pushing to file:/*/$TESTTMP/r2 (glob) |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
543 searching for changes |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
544 adding changesets |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
545 adding manifests |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
546 adding file changes |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
547 added 2 changesets with 2 changes to 1 files |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
548 $ hg -R split outgoing |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
549 comparing with file:/*/$TESTTMP/r2 (glob) |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
550 searching for changes |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
551 no changes found |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
552 [1] |
0ebd94ac56d1
outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents:
34661
diff
changeset
|
553 |