push: all pass along opargs
authorSean Farley <sean@farley.io>
Mon, 19 Oct 2015 15:43:35 -0700
changeset 26809 6cd190147308
parent 26808 b81b8dbecc26
child 26810 382050000412
push: all pass along opargs Wihtout this patch, commands.push silently drops opargs defeating the whole purpose of the argument.
mercurial/commands.py
--- 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