hgext/largefiles/lfutil.py
changeset 23039 1350b9170089
parent 22919 1982bdb7e2cc
child 23184 3100d1cbce32
--- a/hgext/largefiles/lfutil.py	Fri Oct 03 00:42:40 2014 +0200
+++ b/hgext/largefiles/lfutil.py	Fri Oct 03 00:42:40 2014 +0200
@@ -134,13 +134,14 @@
             lfdirstate.normallookup(lfile)
     return lfdirstate
 
-def lfdirstatestatus(lfdirstate, repo, rev):
+def lfdirstatestatus(lfdirstate, repo):
+    wctx = repo['.']
     match = match_.always(repo.root, repo.getcwd())
     unsure, s = lfdirstate.status(match, [], False, False, False)
     modified, clean = s.modified, s.clean
     for lfile in unsure:
         try:
-            fctx = repo[rev][standin(lfile)]
+            fctx = wctx[standin(lfile)]
         except LookupError:
             fctx = None
         if not fctx or fctx.data().strip() != hashfile(repo.wjoin(lfile)):