equal
deleted
inserted
replaced
30 l = sys.stdin.readline() |
30 l = sys.stdin.readline() |
31 if not l: |
31 if not l: |
32 break |
32 break |
33 if l.startswith("file:"): |
33 if l.startswith("file:"): |
34 f = encoding.strtolocal(l[6:-1]) |
34 f = encoding.strtolocal(l[6:-1]) |
|
35 assert f.endswith(b'.i') |
35 r = revlog.revlog( |
36 r = revlog.revlog( |
36 opener, |
37 opener, |
37 target=(revlog_constants.KIND_OTHER, b'undump-revlog'), |
38 target=(revlog_constants.KIND_OTHER, b'undump-revlog'), |
38 indexfile=f, |
39 radix=f[:-2], |
39 ) |
40 ) |
40 procutil.stdout.write(b'%s\n' % f) |
41 procutil.stdout.write(b'%s\n' % f) |
41 elif l.startswith("node:"): |
42 elif l.startswith("node:"): |
42 n = bin(l[6:-1]) |
43 n = bin(l[6:-1]) |
43 elif l.startswith("linkrev:"): |
44 elif l.startswith("linkrev:"): |