changeset 27570:44f717c87903

merge with stable
author Matt Mackall <mpm@selenic.com>
date Thu, 31 Dec 2015 09:55:56 +0100
parents b3eba79b7e04 (current diff) ca8ada499529 (diff)
children 6cd3044985c2
files mercurial/commands.py tests/test-default-push.t
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-default-push.t	Tue Dec 22 11:05:56 2015 +0000
+++ b/tests/test-default-push.t	Thu Dec 31 09:55:56 2015 +0100
@@ -46,6 +46,14 @@
   adding file changes
   added 1 changesets with 1 changes to 1 files
 
+But push should push to 'default' if explicitly specified (issue5000):
+
+  $ hg --cwd b push default
+  pushing to $TESTTMP/a (glob)
+  searching for changes
+  no changes found
+  [1]
+
 Push should push to 'default-push' when 'default' is not set
 
   $ hg -q clone a push-default-only