Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/tests/test-mq-qimport-fail-cleanup.t Mon Jan 30 15:56:35 2012 -0600 +++ b/tests/test-mq-qimport-fail-cleanup.t Mon Jan 30 16:01:54 2012 -0600 @@ -34,6 +34,7 @@ b.patch $ hg pull -q -r 0 . # update phase + [1] $ hg qimport -r 0 abort: revision 0 is not mutable (see "hg help phases" for details)