# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1445294860 25200
#      Mon Oct 19 15:47:40 2015 -0700
# Node ID 382050000412966d5473ebdfbb3ae902a9a9880b
# Parent  6cd19014730812bc243308fe047738dc9135a560
pull: all pass along extra opargs

Wihtout this patch, commands.pull silently drops opargs defeating the whole
purpose of the argument.

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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', ()),