mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
largefiles: remove silent handling of incorrect invocation of restorematchfn
It is better to get a crash than to continue without noticing errors.
This commit is contained in:
parent
4308622a72
commit
2cc2b0c179
@ -54,7 +54,7 @@ def restorematchfn():
|
||||
|
||||
Note that n calls to installmatchfn will require n calls to
|
||||
restore matchfn to reverse'''
|
||||
scmutil.match = getattr(scmutil.match, 'oldmatch', scmutil.match)
|
||||
scmutil.match = getattr(scmutil.match, 'oldmatch')
|
||||
|
||||
def addlargefiles(ui, repo, *pats, **opts):
|
||||
large = opts.pop('large', None)
|
||||
|
Loading…
Reference in New Issue
Block a user