changeset 47150 | 8d3c2f9d4af7 |
parent 47072 | 4c041c71ec01 |
child 47177 | 5d5abfdc32d8 |
--- a/contrib/dumprevlog Mon May 03 12:22:26 2021 +0200 +++ b/contrib/dumprevlog Mon May 03 12:22:36 2021 +0200 @@ -36,10 +36,15 @@ for f in sys.argv[1:]: + localf = encoding.strtolocal(f) + if not localf.endswith(b'.i'): + print("file:", f, file=sys.stderr) + print(" invalida filename", file=sys.stderr) + r = revlog.revlog( binopen, target=(revlog_constants.KIND_OTHER, b'dump-revlog'), - indexfile=encoding.strtolocal(f), + radix=localf[:-2], ) print("file:", f) for i in r: