merge with stable
authorMatt Mackall <mpm@selenic.com>
Thu, 31 Dec 2015 09:55:56 +0100
changeset 27570 44f717c87903
parent 27569 b3eba79b7e04 (current diff)
parent 27555 ca8ada499529 (diff)
child 27576 6cd3044985c2
merge with stable
mercurial/commands.py
tests/test-default-push.t
--- 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