changeset 48687 | f8f2ecdde4b5 |
parent 46819 | d4ba4d51f85f |
child 48689 | fbf7e383e961 |
--- a/mercurial/destutil.py Fri Jan 28 19:07:52 2022 +0300 +++ b/mercurial/destutil.py Fri Jan 07 11:53:23 2022 +0300 @@ -79,6 +79,9 @@ node = repo.revs(b'max(%ln)', successors).first() if bookmarks.isactivewdirparent(repo): movemark = repo[b'.'].node() + else: + # TODO: copy hg prune logic + node = repo[b'.'].node() return node, movemark, None