mirror of
https://github.com/frej/fast-export.git
synced 2026-05-07 06:47:20 +02:00
Bugfix: Handle closed branches
The update for Mercurial 7.2 in "Support Mercurial 7.2" (76db75d963)
broke the handling of closed branches as it did not tell
repo.branchmap().branchheads() to fetch all branch heads, including
closed heads. This patch explicitly asks for all heads, thus restoring
support for closed branches.
This commit is contained in:
@@ -490,7 +490,7 @@ def verify_heads(ui,repo,cache,force,ignore_unnamed_heads,branchesmap):
|
||||
branches={}
|
||||
|
||||
for bn in repo.branchmap():
|
||||
heads = repo.branchmap().branchheads(bn)
|
||||
heads = repo.branchmap().branchheads(bn, closed=True)
|
||||
branches[bn] = branchtip(repo, heads)
|
||||
l=[(-repo.changelog.rev(n), n, t) for t, n in branches.items()]
|
||||
l.sort()
|
||||
|
||||
Reference in New Issue
Block a user