Mercurial > hg
comparison contrib/dumprevlog @ 47177:5d5abfdc32d8
contrib: fix typo
I forgot to fix it in flight, this commit will do fine.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 12 May 2021 10:24:17 +0200 |
parents | 8d3c2f9d4af7 |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
47176:8b549ea4bebf | 47177:5d5abfdc32d8 |
---|---|
37 | 37 |
38 for f in sys.argv[1:]: | 38 for f in sys.argv[1:]: |
39 localf = encoding.strtolocal(f) | 39 localf = encoding.strtolocal(f) |
40 if not localf.endswith(b'.i'): | 40 if not localf.endswith(b'.i'): |
41 print("file:", f, file=sys.stderr) | 41 print("file:", f, file=sys.stderr) |
42 print(" invalida filename", file=sys.stderr) | 42 print(" invalid filename", file=sys.stderr) |
43 | 43 |
44 r = revlog.revlog( | 44 r = revlog.revlog( |
45 binopen, | 45 binopen, |
46 target=(revlog_constants.KIND_OTHER, b'dump-revlog'), | 46 target=(revlog_constants.KIND_OTHER, b'dump-revlog'), |
47 radix=localf[:-2], | 47 radix=localf[:-2], |