diff tests/test-pending.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 bb9ad375b51c
children a3dcc59054ca
line wrap: on
line diff
--- a/tests/test-pending.t	Mon Jan 30 15:56:35 2012 -0600
+++ b/tests/test-pending.t	Mon Jan 30 16:01:54 2012 -0600
@@ -102,6 +102,7 @@
   rollback completed
   abort: pretxnchangegroup hook failed
   pull 0000000000000000000000000000000000000000
+  [1]
 
 test external hook
 
@@ -117,3 +118,4 @@
   rollback completed
   abort: pretxnchangegroup hook exited with status 1
   pull 0000000000000000000000000000000000000000
+  [1]