Mercurial > hg
changeset 24336:c9f4ef967a1d
largefiles: replace 'ctx._repo' with 'ctx.repo()'
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 12 Mar 2015 23:08:16 -0400 |
parents | d6440a5076a5 |
children | 696ab1a24ae0 |
files | hgext/largefiles/lfutil.py hgext/largefiles/overrides.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: