largefiles: fix exception hack for i18n (issue3197)
Properly fixing this is quite a bit trickier.
--- a/hgext/largefiles/overrides.py Fri Jul 27 12:32:02 2012 -0500
+++ b/hgext/largefiles/overrides.py Fri Jul 27 12:33:48 2012 -0500
@@ -439,7 +439,7 @@
installnormalfilesmatchfn(repo[None].manifest())
result = orig(ui, repo, pats, opts, rename)
except util.Abort, e:
- if str(e) != 'no files to copy':
+ if str(e) != _('no files to copy'):
raise e
else:
nonormalfiles = True
@@ -528,7 +528,7 @@
lfdirstate.add(destlfile)
lfdirstate.write()
except util.Abort, e:
- if str(e) != 'no files to copy':
+ if str(e) != _('no files to copy'):
raise e
else:
nolfiles = True