diff --git a/hg-fast-export.py b/hg-fast-export.py index 9e9e48e..ed9fad0 100755 --- a/hg-fast-export.py +++ b/hg-fast-export.py @@ -477,7 +477,7 @@ def branchtip(repo, heads): def verify_heads(ui,repo,cache,force,branchesmap): branches={} - for bn, heads in repo.branchmap().items(): + for bn, heads in repo.branchmap().iteritems(): branches[bn] = branchtip(repo, heads) l=[(-repo.changelog.rev(n), n, t) for t, n in branches.items()] l.sort()