changeset 47240 | 4f38ada3fc26 |
parent 47164 | 04f2f94836a5 |
child 47310 | 9a3aa54774ff |
--- a/mercurial/revlogutils/nodemap.py Mon May 03 12:35:02 2021 +0200 +++ b/mercurial/revlogutils/nodemap.py Mon May 03 12:35:14 2021 +0200 @@ -649,7 +649,7 @@ def get_nodemap_file(revlog): - if revlog.postfix == b'a': + if revlog._trypending: pending_path = revlog.radix + b".n.a" if revlog.opener.exists(pending_path): return pending_path