--- a/hgext/largefiles/lfutil.py Thu Mar 12 23:05:25 2015 -0400
+++ b/hgext/largefiles/lfutil.py Thu Mar 12 23:08:16 2015 -0400
@@ -388,7 +388,7 @@
lfdirstate.drop(lfile)
def markcommitted(orig, ctx, node):
- repo = ctx._repo
+ repo = ctx.repo()
orig(node)
--- a/hgext/largefiles/overrides.py Thu Mar 12 23:05:25 2015 -0400
+++ b/hgext/largefiles/overrides.py Thu Mar 12 23:08:16 2015 -0400
@@ -760,7 +760,7 @@
# currently doesn't work correctly in that case, this match is
# called, so the lfdirstate above may not be the correct one for
# this invocation of match.
- lfdirstate = lfutil.openlfdirstate(ctx._repo.ui, ctx._repo, False)
+ lfdirstate = lfutil.openlfdirstate(ctx.repo().ui, ctx.repo(), False)
def tostandin(f):
if lfutil.standin(f) in ctx: