[PATCH 08 of 12 misc largefiles] largefiles: copy override, install matchfn outside the try/except restoring it
Mads Kiilerich
mads at kiilerich.com
Sun Apr 13 11:59:11 CDT 2014
# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1397407543 -7200
# Sun Apr 13 18:45:43 2014 +0200
# Node ID 918a93c8be12e4277f406d0439f956e3784e4c2f
# Parent 8a8a773003f4c2d29fc558fa5f74e20d4d52033e
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'):
More information about the Mercurial-devel
mailing list