Show More
@@ -389,7 +389,11 b' def _calcmode(vfs):' | |||||
389 |
|
389 | |||
390 |
|
390 | |||
391 | def isrevlog(f, kind, st): |
|
391 | def isrevlog(f, kind, st): | |
392 | return kind == stat.S_IFREG and f[-2:] in (b'.i', b'.d', b'.n', b'.nd') |
|
392 | if kind != stat.S_IFREG: | |
|
393 | return False | |||
|
394 | if f[-2:] in (b'.i', b'.d', b'.n'): | |||
|
395 | return True | |||
|
396 | return f[-3:] == b'.nd' | |||
393 |
|
397 | |||
394 |
|
398 | |||
395 | class basicstore(object): |
|
399 | class basicstore(object): |
@@ -708,9 +708,11 b' The persistent nodemap should exist afte' | |||||
708 | adding [s] 00manifest.n (70 bytes) |
|
708 | adding [s] 00manifest.n (70 bytes) | |
709 | adding [s] 00manifest.i (313 KB) |
|
709 | adding [s] 00manifest.i (313 KB) | |
710 | adding [s] 00manifest.d (452 KB) |
|
710 | adding [s] 00manifest.d (452 KB) | |
|
711 | adding [s] 00manifest-*.nd (118 KB) (glob) | |||
711 | adding [s] 00changelog.n (70 bytes) |
|
712 | adding [s] 00changelog.n (70 bytes) | |
712 | adding [s] 00changelog.i (313 KB) |
|
713 | adding [s] 00changelog.i (313 KB) | |
713 | adding [s] 00changelog.d (360 KB) |
|
714 | adding [s] 00changelog.d (360 KB) | |
|
715 | adding [s] 00changelog-*.nd (118 KB) (glob) | |||
714 | $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' |
|
716 | $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' | |
715 | 00changelog-*.nd (glob) |
|
717 | 00changelog-*.nd (glob) | |
716 | 00changelog.n |
|
718 | 00changelog.n |
General Comments 0
You need to be logged in to leave comments.
Login now