diff tests/test-push-warn.t @ 14526:4276e3202585

prepush: show details about new remote heads with --verbose previously, this info was only shown with --debug Note that the new remote heads are only shown if the command aborts, that is, they are *not* shown if --force was specified. See also change 91cb08a9e7fb.
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 03 Jun 2011 13:10:22 +0200
parents 826a13720fbc
children f03c82d1f50a
line wrap: on
line diff
--- a/tests/test-push-warn.t	Fri Jun 03 12:16:17 2011 +0200
+++ b/tests/test-push-warn.t	Fri Jun 03 13:10:22 2011 +0200
@@ -124,16 +124,22 @@
   (did you forget to merge? use push -f to force)
   [255]
 
-  $ hg push -r 3 -r 4 ../c
+  $ hg push -v -r 3 -r 4 ../c
   pushing to ../c
   searching for changes
+  all remote heads known locally
+  new remote heads on branch 'default'
+  new remote head a5dda829a167
+  new remote head ee8fbc7a0295
   abort: push creates new remote head a5dda829a167!
   (did you forget to merge? use push -f to force)
   [255]
 
-  $ hg push -f -r 3 -r 4 ../c
+  $ hg push -v -f -r 3 -r 4 ../c
   pushing to ../c
   searching for changes
+  all remote heads known locally
+  2 changesets found
   adding changesets
   adding manifests
   adding file changes