Mercurial > hg
changeset 51819:438f4fca513e
remotefilelog: honor the `--format` arg of the `debugindex` command
Flagged by PyCharm while investigating pytype spew. The other `**opts` above
are already accessed as str. I've never used remotefilelog, and don't have a
repo to test this on, so I'm trusting the nearby code.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 21 Aug 2024 16:09:22 -0400 |
parents | adbfbbf9963f |
children | 71fb6e0a7a35 |
files | hgext/remotefilelog/debugcommands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/remotefilelog/debugcommands.py Tue Aug 20 22:47:11 2024 -0400 +++ b/hgext/remotefilelog/debugcommands.py Wed Aug 21 16:09:22 2024 -0400 @@ -115,7 +115,7 @@ r = buildtemprevlog(repo, file_) # debugindex like normal - format = opts.get(b'format', 0) + format = opts.get('format', 0) if format not in (0, 1): raise error.Abort(_(b"unknown format %d") % format)