largefiles: remove confusing handling of .bad return value - it is void
authorMads Kiilerich <madski@unity3d.com>
Sun, 13 Apr 2014 18:45:43 +0200
changeset 21086 718f56c47414
parent 21085 66c6da0bc7e2
child 21087 3fb2affb023f
largefiles: remove confusing handling of .bad return value - it is void
hgext/largefiles/overrides.py
--- 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(),