--- a/hgext/largefiles/overrides.py Wed Feb 20 19:28:51 2019 -0500
+++ b/hgext/largefiles/overrides.py Wed Feb 20 18:02:28 2019 -0500
@@ -664,9 +664,9 @@
_('destination largefile already exists'))
copiedfiles.append((src, dest))
orig(src, dest, *args, **kwargs)
- with extensions.wrappedfunction(util, 'copyfile', overridecopyfile), \
- extensions.wrappedfunction(scmutil, 'match', overridematch):
- result += orig(ui, repo, listpats, opts, rename)
+ with extensions.wrappedfunction(util, 'copyfile', overridecopyfile):
+ with extensions.wrappedfunction(scmutil, 'match', overridematch):
+ result += orig(ui, repo, listpats, opts, rename)
lfdirstate = lfutil.openlfdirstate(ui, repo)
for (src, dest) in copiedfiles: