largefiles: copy override, install matchfn outside the try/except restoring it
authorMads Kiilerich <madski@unity3d.com>
Sun, 13 Apr 2014 18:45:43 +0200
changeset 21091 dd584d1a75e7
parent 21090 aa3d652ba1d5
child 21092 56fda512db9f
largefiles: copy override, install matchfn outside the try/except restoring it
hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py	Sun Apr 13 18:45:43 2014 +0200
+++ b/hgext/largefiles/overrides.py	Sun Apr 13 18:45:43 2014 +0200
@@ -465,9 +465,9 @@
     # 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'):