# HG changeset patch # User Mads Kiilerich # Date 2014-04-13 16:45:43 # Node ID dd584d1a75e7ce02e43609210690e4ea1f2e9493 # Parent aa3d652ba1d574ab20778439fceee61749535112 largefiles: copy override, install matchfn outside the try/except restoring it diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py +++ b/hgext/largefiles/overrides.py @@ -465,9 +465,9 @@ def overridecopy(orig, ui, repo, pats, o # match largefiles and run it again. nonormalfiles = False nolfiles = False + installnormalfilesmatchfn(repo[None].manifest()) try: try: - installnormalfilesmatchfn(repo[None].manifest()) result = orig(ui, repo, pats, opts, rename) except util.Abort, e: if str(e) != _('no files to copy'):