hgext/largefiles/overrides.py
changeset 27344 43c00ca887d1
parent 27050 df9b73d2d444
child 27345 98266b1d144d
--- a/hgext/largefiles/overrides.py	Sat Dec 12 09:57:05 2015 -0800
+++ b/hgext/largefiles/overrides.py	Mon Dec 14 18:54:03 2015 -0500
@@ -1364,8 +1364,11 @@
         err = 0
     return err
 
-def mergeupdate(orig, repo, node, branchmerge, force, partial,
+def mergeupdate(orig, repo, node, branchmerge, force,
                 *args, **kwargs):
+    matcher = kwargs.get('matcher', None)
+    # note if this is a partial update
+    partial = matcher and not matcher.always()
     wlock = repo.wlock()
     try:
         # branch |       |         |
@@ -1405,7 +1408,7 @@
 
         oldstandins = lfutil.getstandinsstate(repo)
 
-        result = orig(repo, node, branchmerge, force, partial, *args, **kwargs)
+        result = orig(repo, node, branchmerge, force, *args, **kwargs)
 
         newstandins = lfutil.getstandinsstate(repo)
         filelist = lfutil.getlfilestoupdate(oldstandins, newstandins)