hgext/largefiles/overrides.py
changeset 24534 1925769b4ff8
parent 24474 61a99993f8a7
child 24670 dfb86af18a35
--- a/hgext/largefiles/overrides.py	Tue Mar 31 08:31:42 2015 -0500
+++ b/hgext/largefiles/overrides.py	Wed Mar 18 21:44:25 2015 -0700
@@ -376,8 +376,8 @@
     # The magic matchandpats override should be used for case (1) but not for
     # case (2).
     def overridemakelogfilematcher(repo, pats, opts):
-        pctx = repo[None]
-        match, pats = oldmatchandpats(pctx, pats, opts)
+        wctx = repo[None]
+        match, pats = oldmatchandpats(wctx, pats, opts)
         return lambda rev: match
 
     oldmatchandpats = installmatchandpatsfn(overridematchandpats)