##// END OF EJS Templates
debug: `isinstance(a, x) or isinstance(a, y)` is `isinstance(a, (x, y))`
av6 -
r51442:9dcb0084 default
parent child Browse files
Show More
@@ -2642,7 +2642,7 b' def debugnodemap(ui, repo, file_=None, *'
2642 r = cmdutil.openstorage(
2642 r = cmdutil.openstorage(
2643 repo.unfiltered(), b'debugnodemap', file_, pycompat.byteskwargs(opts)
2643 repo.unfiltered(), b'debugnodemap', file_, pycompat.byteskwargs(opts)
2644 )
2644 )
2645 if isinstance(r, manifest.manifestrevlog) or isinstance(r, filelog.filelog):
2645 if isinstance(r, (manifest.manifestrevlog, filelog.filelog)):
2646 r = r._revlog
2646 r = r._revlog
2647 if opts['dump_new']:
2647 if opts['dump_new']:
2648 if util.safehasattr(r.index, "nodemap_data_all"):
2648 if util.safehasattr(r.index, "nodemap_data_all"):
General Comments 0
You need to be logged in to leave comments. Login now