largefiles: remove confusing handling of .bad return value - it is void

This commit is contained in:
Mads Kiilerich 2014-04-13 18:45:43 +02:00
parent 428d9fe9e0
commit 6cef420525

View File

@ -1125,7 +1125,7 @@ def overridecat(orig, ui, repo, file1, *pats, **opts):
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(),