Mercurial > hg
annotate tests/test-treediscovery-legacy.t @ 22578:939ce500c92a
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 29 Sep 2014 17:23:38 -0500 |
parents | 7a9cbb315d84 |
children | b5c8ee72debc |
rev | line source |
---|---|
22046
7a9cbb315d84
tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents:
20117
diff
changeset
|
1 #require killdaemons |
15446
c5c9ca3719f9
tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents:
14831
diff
changeset
|
2 |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
3 Tests discovery against servers without getbundle support: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
4 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
5 $ cat >> $HGRCPATH <<EOF |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
6 > [ui] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
7 > logtemplate="{rev} {node|short}: {desc} {branches}\n" |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
8 > EOF |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
9 $ cp $HGRCPATH $HGRCPATH-withcap |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
10 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
11 $ CAP="getbundle known changegroupsubset" |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
12 $ . "$TESTDIR/notcapable" |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
13 $ cp $HGRCPATH $HGRCPATH-nocap |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
14 $ cp $HGRCPATH-withcap $HGRCPATH |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
15 |
17011
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
16 Prep for test server without branchmap support |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
17 |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
18 $ CAP="branchmap" |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
19 $ . "$TESTDIR/notcapable" |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
20 $ cp $HGRCPATH $HGRCPATH-nocap-branchmap |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
21 $ cp $HGRCPATH-withcap $HGRCPATH |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
22 |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
23 Setup HTTP server control: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
24 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
25 $ remote=http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
26 $ export remote |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
27 $ tstart() { |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
28 > echo '[web]' > $1/.hg/hgrc |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
29 > echo 'push_ssl = false' >> $1/.hg/hgrc |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
30 > echo 'allow_push = *' >> $1/.hg/hgrc |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
31 > cp $HGRCPATH-nocap $HGRCPATH |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
32 > hg serve -R $1 -p $HGPORT -d --pid-file=hg.pid -E errors.log |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
33 > cat hg.pid >> $DAEMON_PIDS |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
34 > } |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
35 $ tstop() { |
17466
d5a3bda6e170
killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu>
parents:
17345
diff
changeset
|
36 > "$TESTDIR/killdaemons.py" $DAEMON_PIDS |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
37 > cp $HGRCPATH-withcap $HGRCPATH |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
38 > } |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
39 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
40 Both are empty: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
41 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
42 $ hg init empty1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
43 $ hg init empty2 |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
44 $ tstart empty2 |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
45 $ hg incoming -R empty1 $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
46 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
47 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
48 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
49 $ hg outgoing -R empty1 $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
50 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
51 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
52 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
53 $ hg pull -R empty1 $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
54 pulling from http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
55 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
56 $ hg push -R empty1 $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
57 pushing to http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
58 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
15446
diff
changeset
|
59 [1] |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
60 $ tstop |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
61 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
62 Base repo: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
63 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
64 $ hg init main |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
65 $ cd main |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
66 $ hg debugbuilddag -mo '+2:tbase @name1 +3:thead1 <tbase @name2 +4:thead2 @both /thead1 +2:tmaintip' |
20117
aa9385f983fa
tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents:
17539
diff
changeset
|
67 $ hg log -G |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
68 o 11 a19bfa7e7328: r11 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
69 | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
70 o 10 8b6bad1512e1: r10 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
71 | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
72 o 9 025829e08038: r9 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
73 |\ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
74 | o 8 d8f638ac69e9: r8 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
75 | | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
76 | o 7 b6b4d315a2ac: r7 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
77 | | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
78 | o 6 6c6f5d5f3c11: r6 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
79 | | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
80 | o 5 70314b29987d: r5 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
81 | | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
82 o | 4 e71dbbc70e03: r4 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
83 | | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
84 o | 3 2c8d5d5ec612: r3 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
85 | | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
86 o | 2 a7892891da29: r2 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
87 |/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
88 o 1 0019a3b924fd: r1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
89 | |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
90 o 0 d57206cc072a: r0 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
91 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
92 $ cd .. |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
93 $ tstart main |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
94 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
95 Full clone: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
96 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
97 $ hg clone main full |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
98 updating to branch default |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
99 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
100 $ cd full |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
101 $ hg incoming $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
102 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
103 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
104 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
105 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
106 $ hg outgoing $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
107 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
108 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
109 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
110 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
111 $ hg pull $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
112 pulling from http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
113 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
114 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
115 $ hg push $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
116 pushing to http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
117 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
118 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
15446
diff
changeset
|
119 [1] |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
120 $ cd .. |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
121 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
122 Local is empty: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
123 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
124 $ cd empty1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
125 $ hg incoming $remote --rev name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
126 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
127 abort: cannot look up remote changes; remote repository does not support the 'changegroupsubset' capability! |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
128 [255] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
129 $ hg incoming $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
130 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
131 0 d57206cc072a: r0 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
132 1 0019a3b924fd: r1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
133 2 a7892891da29: r2 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
134 3 2c8d5d5ec612: r3 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
135 4 e71dbbc70e03: r4 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
136 5 70314b29987d: r5 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
137 6 6c6f5d5f3c11: r6 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
138 7 b6b4d315a2ac: r7 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
139 8 d8f638ac69e9: r8 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
140 9 025829e08038: r9 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
141 10 8b6bad1512e1: r10 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
142 11 a19bfa7e7328: r11 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
143 $ hg outgoing $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
144 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
145 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
146 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
147 $ hg push $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
148 pushing to http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
149 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
15446
diff
changeset
|
150 [1] |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
151 $ hg pull $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
152 pulling from http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
153 requesting all changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
154 adding changesets |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
155 adding manifests |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
156 adding file changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
157 added 12 changesets with 24 changes to 2 files |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
158 (run 'hg update' to get a working copy) |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
159 $ hg incoming $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
160 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
161 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
162 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
163 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
164 $ cd .. |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
165 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
166 Local is subset: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
167 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
168 $ cp $HGRCPATH-withcap $HGRCPATH |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
169 $ hg clone main subset --rev name2 ; cd subset |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
170 adding changesets |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
171 adding manifests |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
172 adding file changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
173 added 6 changesets with 12 changes to 2 files |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
174 updating to branch name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
175 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
176 $ cp $HGRCPATH-nocap $HGRCPATH |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
177 $ hg incoming $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
178 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
179 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
180 6 a7892891da29: r2 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
181 7 2c8d5d5ec612: r3 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
182 8 e71dbbc70e03: r4 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
183 9 025829e08038: r9 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
184 10 8b6bad1512e1: r10 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
185 11 a19bfa7e7328: r11 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
186 $ hg outgoing $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
187 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
188 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
189 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
190 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
191 $ hg push $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
192 pushing to http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
193 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
194 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
15446
diff
changeset
|
195 [1] |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
196 $ hg pull $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
197 pulling from http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
198 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
199 adding changesets |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
200 adding manifests |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
201 adding file changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
202 added 6 changesets with 12 changes to 2 files |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
203 (run 'hg update' to get a working copy) |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
204 $ hg incoming $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
205 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
206 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
207 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
208 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
209 $ cd .. |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
210 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
211 Remote is empty: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
212 |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
213 $ tstop ; tstart empty2 |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
214 $ cd main |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
215 $ hg incoming $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
216 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
217 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
218 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
219 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
220 $ hg outgoing $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
221 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
222 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
223 0 d57206cc072a: r0 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
224 1 0019a3b924fd: r1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
225 2 a7892891da29: r2 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
226 3 2c8d5d5ec612: r3 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
227 4 e71dbbc70e03: r4 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
228 5 70314b29987d: r5 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
229 6 6c6f5d5f3c11: r6 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
230 7 b6b4d315a2ac: r7 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
231 8 d8f638ac69e9: r8 name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
232 9 025829e08038: r9 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
233 10 8b6bad1512e1: r10 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
234 11 a19bfa7e7328: r11 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
235 $ hg pull $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
236 pulling from http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
237 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
238 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
239 $ hg push $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
240 pushing to http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
241 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
242 remote: adding changesets |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
243 remote: adding manifests |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
244 remote: adding file changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
245 remote: added 12 changesets with 24 changes to 2 files |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
246 $ hg outgoing $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
247 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
248 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
249 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
250 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
251 $ cd .. |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
252 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
253 Local is superset: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
254 |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
255 $ tstop |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
256 $ hg clone main subset2 --rev name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
257 adding changesets |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
258 adding manifests |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
259 adding file changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
260 added 6 changesets with 12 changes to 2 files |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
261 updating to branch name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
262 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
263 $ tstart subset2 |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
264 $ cd main |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
265 $ hg incoming $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
266 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
267 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
268 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
269 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
270 $ hg outgoing $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
271 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
272 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
273 2 a7892891da29: r2 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
274 3 2c8d5d5ec612: r3 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
275 4 e71dbbc70e03: r4 name1 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
276 9 025829e08038: r9 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
277 10 8b6bad1512e1: r10 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
278 11 a19bfa7e7328: r11 both |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
279 $ hg pull $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
280 pulling from http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
281 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
282 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
283 $ hg push $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
284 pushing to http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
285 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
286 abort: push creates new remote branches: both, name1! |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
287 (use 'hg push --new-branch' to create new remote branches) |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
288 [255] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
289 $ hg push $remote --new-branch |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
290 pushing to http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
291 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
292 remote: adding changesets |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
293 remote: adding manifests |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
294 remote: adding file changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
295 remote: added 6 changesets with 12 changes to 2 files |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
296 $ hg outgoing $remote |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
297 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
298 searching for changes |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
299 no changes found |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
300 [1] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
301 $ cd .. |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
302 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
303 Partial pull: |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
304 |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
305 $ tstop ; tstart main |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
306 $ hg clone $remote partial --rev name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
307 abort: partial pull cannot be done because other repository doesn't support changegroupsubset. |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
308 [255] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
309 $ hg init partial; cd partial |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
310 $ hg incoming $remote --rev name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
311 comparing with http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
312 abort: cannot look up remote changes; remote repository does not support the 'changegroupsubset' capability! |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
313 [255] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
314 $ hg pull $remote --rev name2 |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
315 pulling from http://localhost:$HGPORT/ |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
316 abort: partial pull cannot be done because other repository doesn't support changegroupsubset. |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
317 [255] |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
318 $ cd .. |
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
319 |
14831
0407b7613e99
treediscovery: rename stop() in tests to fix failures on AIX.
Jim Hague <jim.hague@acm.org>
parents:
14411
diff
changeset
|
320 $ tstop |
14411
0c35514734e7
tests: add tests for discovery/pull without cgsubset
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
321 |
17011
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
322 Exercise pushing to server without branchmap capability |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
323 |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
324 $ cp $HGRCPATH-nocap-branchmap $HGRCPATH-nocap |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
325 $ hg init rlocal |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
326 $ cd rlocal |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
327 $ echo A > A |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
328 $ hg ci -Am A |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
329 adding A |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
330 $ cd .. |
17345
4f8054d3171b
check-code: fix check for trailing whitespace on sh command lines
Mads Kiilerich <mads@kiilerich.com>
parents:
17011
diff
changeset
|
331 $ hg clone rlocal rremote |
17011
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
332 updating to branch default |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
333 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
334 $ cd rlocal |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
335 $ echo B > B |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
336 $ hg ci -Am B |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
337 adding B |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
338 $ cd .. |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
339 $ tstart rremote |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
340 |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
341 $ cd rlocal |
17345
4f8054d3171b
check-code: fix check for trailing whitespace on sh command lines
Mads Kiilerich <mads@kiilerich.com>
parents:
17011
diff
changeset
|
342 $ hg incoming $remote |
17011
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
343 comparing with http://localhost:$HGPORT/ |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
344 searching for changes |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
345 no changes found |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
346 [1] |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
347 $ hg outgoing $remote |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
348 comparing with http://localhost:$HGPORT/ |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
349 searching for changes |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
350 1 27547f69f254: B |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
351 $ hg pull $remote |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
352 pulling from http://localhost:$HGPORT/ |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
353 searching for changes |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
354 no changes found |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
355 $ hg push $remote |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
356 pushing to http://localhost:$HGPORT/ |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
357 searching for changes |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
358 remote: adding changesets |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
359 remote: adding manifests |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
360 remote: adding file changes |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
361 remote: added 1 changesets with 1 changes to 1 files |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
362 $ hg outgoing $remote |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
363 comparing with http://localhost:$HGPORT/ |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
364 searching for changes |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
365 no changes found |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
366 [1] |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
367 $ cd .. |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
368 |
25f7d40fe735
discovery: convert legacy part of checkheads to revs from nodes
Joshua Redstone <joshua.redstone@fb.com>
parents:
16107
diff
changeset
|
369 $ tstop |