changeset 21091:dd584d1a75e7

largefiles: copy override, install matchfn outside the try/except restoring it
author Mads Kiilerich <madski@unity3d.com>
date Sun, 13 Apr 2014 18:45:43 +0200
parents aa3d652ba1d5
children 56fda512db9f
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'):