mercurial/exchange.py
changeset 25445 1457c1f28c92
parent 25444 1d1fd5d44f57
child 25446 b5311068077e
--- a/mercurial/exchange.py	Mon Jun 01 22:29:49 2015 -0700
+++ b/mercurial/exchange.py	Tue Jun 02 00:43:11 2015 -0700
@@ -886,8 +886,11 @@
         if self._tr is not None:
             self._tr.release()
 
-def pull(repo, remote, heads=None, force=False, bookmarks=()):
-    pullop = pulloperation(repo, remote, heads, force, bookmarks=bookmarks)
+def pull(repo, remote, heads=None, force=False, bookmarks=(), opargs=None):
+    if opargs is None:
+        opargs = {}
+    pullop = pulloperation(repo, remote, heads, force, bookmarks=bookmarks,
+                           **opargs)
     if pullop.remote.local():
         missing = set(pullop.remote.requirements) - pullop.repo.supported
         if missing: