Mercurial > hg
comparison tests/test-mq-qimport-fail-cleanup.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 | 8857e150bec0 |
children | a3dcc59054ca |
comparison
equal
deleted
inserted
replaced
16038:dad96e752079 | 16039:093b75c7b44b |
---|---|
32 | 32 |
33 $ hg qseries | 33 $ hg qseries |
34 b.patch | 34 b.patch |
35 | 35 |
36 $ hg pull -q -r 0 . # update phase | 36 $ hg pull -q -r 0 . # update phase |
37 [1] | |
37 $ hg qimport -r 0 | 38 $ hg qimport -r 0 |
38 abort: revision 0 is not mutable | 39 abort: revision 0 is not mutable |
39 (see "hg help phases" for details) | 40 (see "hg help phases" for details) |
40 [255] | 41 [255] |