branch | stable |
changeset 17878 | d1d0140287b8 |
parent 17847 | 1e4eb1faba6e |
child 17892 | ba0a1701c81a |
--- a/hgext/largefiles/overrides.py Tue Oct 23 21:07:14 2012 -0400 +++ b/hgext/largefiles/overrides.py Tue Oct 23 21:32:19 2012 -0400 @@ -1113,3 +1113,11 @@ result = orig(ui, repo, file1, *pats, **opts) return result return lfcommands.catlfile(repo, file1, ctx.rev(), opts.get('output')) + +def mercurialsinkbefore(orig, sink): + sink.repo._isconverting = True + orig(sink) + +def mercurialsinkafter(orig, sink): + sink.repo._isconverting = False + orig(sink)