Mercurial > hg
comparison tests/test-phases-exchange.t @ 16039:093b75c7b44b stable
pull: return 1 when no changes found (BC)
Currently we have the following return codes if nothing is found:
commit incoming outgoing pull push
intended 1 1 1 1 1
documented 1 1 1 0 1
actual 1 1 1 0 1
This makes pull agree with the rest of the table and makes it easy to
detect "nothing was pulled" in scripts.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 30 Jan 2012 16:01:54 -0600 |
parents | 90f8b8dd0326 |
children | a3dcc59054ca |
comparison
equal
deleted
inserted
replaced
16038:dad96e752079 | 16039:093b75c7b44b |
---|---|
134 | 134 |
135 $ hg pull ../alpha | 135 $ hg pull ../alpha |
136 pulling from ../alpha | 136 pulling from ../alpha |
137 searching for changes | 137 searching for changes |
138 no changes found | 138 no changes found |
139 [1] | |
139 $ hgph | 140 $ hgph |
140 o 4 public a-D - b555f63b6063 | 141 o 4 public a-D - b555f63b6063 |
141 | | 142 | |
142 o 3 public a-C - 54acac6f23ab | 143 o 3 public a-C - 54acac6f23ab |
143 | | 144 | |
341 $ cd nu | 342 $ cd nu |
342 $ hg pull ../alpha | 343 $ hg pull ../alpha |
343 pulling from ../alpha | 344 pulling from ../alpha |
344 searching for changes | 345 searching for changes |
345 no changes found | 346 no changes found |
347 [1] | |
346 $ hgph | 348 $ hgph |
347 @ 6 public n-B - 145e75495359 | 349 @ 6 public n-B - 145e75495359 |
348 | | 350 | |
349 o 5 public n-A - d6bcb4f74035 | 351 o 5 public n-A - d6bcb4f74035 |
350 | | 352 | |
773 | 775 |
774 $ hg pull ../mu | 776 $ hg pull ../mu |
775 pulling from ../mu | 777 pulling from ../mu |
776 searching for changes | 778 searching for changes |
777 no changes found | 779 no changes found |
780 [1] | |
778 $ hgph | 781 $ hgph |
779 @ 11 draft A-secret - 435b5d83910c | 782 @ 11 draft A-secret - 435b5d83910c |
780 | | 783 | |
781 o 10 public a-H - 967b449fbc94 | 784 o 10 public a-H - 967b449fbc94 |
782 | | 785 | |
925 | 928 |
926 $ hg pull http://localhost:$HGPORT/ | 929 $ hg pull http://localhost:$HGPORT/ |
927 pulling from http://localhost:$HGPORT/ | 930 pulling from http://localhost:$HGPORT/ |
928 searching for changes | 931 searching for changes |
929 no changes found | 932 no changes found |
933 [1] | |
930 $ hg phase f54f1bb90ff3 | 934 $ hg phase f54f1bb90ff3 |
931 2: draft | 935 2: draft |
932 | 936 |
933 check that secret local on both side are not synced to public | 937 check that secret local on both side are not synced to public |
934 | 938 |