changeset 26809:6cd190147308

push: all pass along opargs Wihtout this patch, commands.push silently drops opargs defeating the whole purpose of the argument.
author Sean Farley <sean@farley.io>
date Mon, 19 Oct 2015 15:43:35 -0700
parents b81b8dbecc26
children 382050000412
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Oct 15 17:28:26 2015 -0400
+++ b/mercurial/commands.py	Mon Oct 19 15:43:35 2015 -0700
@@ -5416,7 +5416,8 @@
         del repo._subtoppath
     pushop = exchange.push(repo, other, opts.get('force'), revs=revs,
                            newbranch=opts.get('new_branch'),
-                           bookmarks=opts.get('bookmark', ()))
+                           bookmarks=opts.get('bookmark', ()),
+                           opargs=opts.get('opargs'))
 
     result = not pushop.cgresult