diff hgext/largefiles/overrides.py @ 21086:718f56c47414

largefiles: remove confusing handling of .bad return value - it is void
author Mads Kiilerich <madski@unity3d.com>
date Sun, 13 Apr 2014 18:45:43 +0200
parents ffd7b6ce46ff
children 3fb2affb023f
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Thu Oct 03 18:01:21 2013 +0200
+++ b/hgext/largefiles/overrides.py	Sun Apr 13 18:45:43 2014 +0200
@@ -1125,7 +1125,7 @@
     origbadfn = m.bad
     def lfbadfn(f, msg):
         if not f in notbad:
-            return origbadfn(f, msg)
+            origbadfn(f, msg)
     m.bad = lfbadfn
     for f in ctx.walk(m):
         fp = cmdutil.makefileobj(repo, opts.get('output'), ctx.node(),