diff tests/test-ssh.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 dad96e752079
children a3dcc59054ca
line wrap: on
line diff
--- a/tests/test-ssh.t	Mon Jan 30 15:56:35 2012 -0600
+++ b/tests/test-ssh.t	Mon Jan 30 16:01:54 2012 -0600
@@ -80,6 +80,7 @@
   pulling from ssh://user@dummy/remote
   searching for changes
   no changes found
+  [1]
 
 local change
 
@@ -198,6 +199,7 @@
   no changes found
   updating bookmark foo
   importing bookmark foo
+  [1]
   $ hg book -d foo
   $ hg push -B foo
   pushing to ssh://user@dummy/remote