annotate tests/test-incoming-outgoing.t @ 29196:bf7b8157c483 stable

strip: invalidate phase cache after stripping changeset (issue5235) When we remove a changeset from the changelog, the phase cache must be invalidated, otherwise it could refer to changesets that are no longer in the repo. To reproduce the failure, I created an extension querying the phase cache after the strip transaction is over. To do that, I stripped two commits with a bookmark on one of them to force another transaction (we open a transaction for moving bookmarks) after the strip transaction. Without the fix in this patch, the test leads to a stacktrace showing the issue: repair.strip(ui, repo, revs, backup) File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/repair.py", line 205, in strip tr.close() File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/transaction.py", line 44, in _active return func(self, *args, **kwds) File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/transaction.py", line 490, in close self._postclosecallback[cat](self) File "$TESTTMP/crashstrip2.py", line 4, in test [repo.changelog.node(r) for r in repo.revs("not public()")] File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/changelog.py", line 337, in node return super(changelog, self).node(rev) File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/revlog.py", line 377, in node return self.index[rev][7] IndexError: revlog index out of range The situation was encountered in inhibit (evolve's repo) where we would crash following the volatile set invalidation submitted by Augie in e6f490e328635312ee214a12bc7fd3c7d46bf9ce. Before his patch the issue was masked as we were not accessing the phasecache after stripping a revision. This bug uncovered another but in histedit (see explanation in issue5235). I changed the histedit test accordingly to avoid fixing two things at once.
author Laurent Charignon <lcharignon@fb.com>
date Thu, 12 May 2016 06:13:59 -0700
parents 7a9cbb315d84
children eb586ed5d8ce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
15 1 files, 9 changesets, 9 total revisions
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
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
332 (run 'hg update' to get a working copy)
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
333 $ hg -R temp2 unbundle test2.hg
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
334 adding changesets
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
335 adding manifests
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
336 adding file changes
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
337 added 9 changesets with 9 changes to 1 files
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
338 (run 'hg update' to get a working copy)
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
339 $ hg -R temp tip
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
340 changeset: 8:e4feb4ac9035
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
341 tag: tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
342 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
343 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
344 summary: 8
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
345
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
346 $ hg -R temp2 tip
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
347 changeset: 8:e4feb4ac9035
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
348 tag: tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
349 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
350 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
351 summary: 8
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
352
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
353
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
354 $ rm -r temp temp2 new
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 test outgoing
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 $ hg clone test test-dev
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
359 updating to branch default
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
360 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
361 $ cd test-dev
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
362 $ 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
363 > echo $i >> foo
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
364 > hg commit -A -m $i
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
365 > done
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
366 $ hg verify
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
367 checking changesets
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
368 checking manifests
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
369 crosschecking files in changesets and manifests
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
370 checking files
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
371 1 files, 14 changesets, 14 total revisions
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
372 $ cd ..
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
373 $ hg -R test-dev outgoing test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
374 comparing with test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
375 searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
376 changeset: 9:d89d4abea5bc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
377 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
378 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
379 summary: 9
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
380
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
381 changeset: 10:820095aa7158
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
382 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
383 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
384 summary: 10
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
385
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
386 changeset: 11:09ede2f3a638
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
387 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
388 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
389 summary: 11
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
390
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
391 changeset: 12:e576b1bed305
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
392 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
393 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
394 summary: 12
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
395
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
396 changeset: 13:96bbff09a7cc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
397 tag: tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
398 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
399 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
400 summary: 13
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
401
15992
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
402 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
403
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
404 $ 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
405 $ 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
406 comparing with test
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
407 searching for changes
15993
0b05e0bfdc1c scmutil: unify some 'no changes found' messages
Matt Mackall <mpm@selenic.com>
parents: 15992
diff changeset
408 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
409 [1]
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
410 $ 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
411
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
412 limit to 3 changesets
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 $ hg -R test-dev outgoing -l 3 test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
415 comparing with test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
416 searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
417 changeset: 9:d89d4abea5bc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
418 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
419 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
420 summary: 9
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
421
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
422 changeset: 10:820095aa7158
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
423 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
424 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
425 summary: 10
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
426
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
427 changeset: 11:09ede2f3a638
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
428 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
429 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
430 summary: 11
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
431
12366
c01dc9087d9a tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents: 12156
diff changeset
432 $ 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
433 comparing with http://localhost:$HGPORT/
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
434 searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
435 changeset: 9:d89d4abea5bc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
436 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
437 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
438 summary: 9
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
439
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
440 changeset: 10:820095aa7158
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
441 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
442 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
443 summary: 10
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
444
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
445 changeset: 11:09ede2f3a638
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
446 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
447 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
448 summary: 11
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
449
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
450 changeset: 12:e576b1bed305
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
451 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
452 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
453 summary: 12
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
454
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
455 changeset: 13:96bbff09a7cc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
456 tag: tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
457 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
458 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
459 summary: 13
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
460
12366
c01dc9087d9a tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents: 12156
diff changeset
461 $ 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
462 comparing with http://localhost:$HGPORT/
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
463 searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
464 changeset: 9:d89d4abea5bc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
465 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
466 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
467 summary: 9
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
468
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
469 changeset: 10:820095aa7158
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
470 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
471 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
472 summary: 10
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
473
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
474 changeset: 11:09ede2f3a638
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
475 user: test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
476 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
477 summary: 11
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
478
14981
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
479
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
480 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
481
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
482 $ hg init r1
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
483 $ hg init r2
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
484 $ 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
485 $ 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
486 adding 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 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
488 comparing with r2
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
489 searching for changes
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
490 no changes found
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
491 [1]