pull: all pass along extra opargs
authorSean Farley <sean@farley.io>
Mon, 19 Oct 2015 15:47:40 -0700
changeset 26810 382050000412
parent 26809 6cd190147308
child 26811 d1561a422748
pull: all pass along extra opargs Wihtout this patch, commands.pull silently drops opargs defeating the whole purpose of the argument.
mercurial/commands.py
--- a/mercurial/commands.py	Mon Oct 19 15:43:35 2015 -0700
+++ b/mercurial/commands.py	Mon Oct 19 15:47:40 2015 -0700
@@ -5312,6 +5312,7 @@
                         "so a rev cannot be specified.")
                 raise error.Abort(err)
 
+        pullopargs.update(opts.get('opargs', {}))
         modheads = exchange.pull(repo, other, heads=revs,
                                  force=opts.get('force'),
                                  bookmarks=opts.get('bookmark', ()),