changeset 50546 | 9dcb00842769 |
parent 50545 | 720a23405fe9 |
child 50560 | 8020be6a9d28 |
--- a/mercurial/debugcommands.py Wed May 31 12:01:25 2023 -0300 +++ b/mercurial/debugcommands.py Wed May 31 12:02:56 2023 -0300 @@ -2642,7 +2642,7 @@ r = cmdutil.openstorage( repo.unfiltered(), b'debugnodemap', file_, pycompat.byteskwargs(opts) ) - if isinstance(r, manifest.manifestrevlog) or isinstance(r, filelog.filelog): + if isinstance(r, (manifest.manifestrevlog, filelog.filelog)): r = r._revlog if opts['dump_new']: if util.safehasattr(r.index, "nodemap_data_all"):