mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
largefiles: remove confusing handling of .bad return value - it is void
This commit is contained in:
parent
428d9fe9e0
commit
6cef420525
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user