Show More
@@ -387,13 +387,12 b' def _calcmode(vfs):' | |||||
387 | b'requires', |
|
387 | b'requires', | |
388 | ] |
|
388 | ] | |
389 |
|
389 | |||
|
390 | REVLOG_FILES_EXT = (b'.i', b'.d', b'.n', b'.nd') | |||
390 |
|
391 | |||
391 | def isrevlog(f, kind, st): |
|
392 | def isrevlog(f, kind, st): | |
392 | if kind != stat.S_IFREG: |
|
393 | if kind != stat.S_IFREG: | |
393 | return False |
|
394 | return False | |
394 | if f[-2:] in (b'.i', b'.d', b'.n'): |
|
395 | return f.endswith(REVLOG_FILES_EXT) | |
395 | return True |
|
|||
396 | return f[-3:] == b'.nd' |
|
|||
397 |
|
396 | |||
398 |
|
397 | |||
399 | class basicstore(object): |
|
398 | class basicstore(object): |
General Comments 0
You need to be logged in to leave comments.
Login now