verify_heads() needs to be aware of the branch renaming map
commitb7cc6ab3bfecaea47105c23739b289461c2bf347
authorFrej Drejhammar <frej.drejhammar@gmail.com>
Sat, 2 Apr 2016 13:01:45 +0000 (2 15:01 +0200)
committerFrej Drejhammar <frej.drejhammar@gmail.com>
Sat, 2 Apr 2016 13:01:45 +0000 (2 15:01 +0200)
tree57b42e38bc1a852e87fd5a94824c960df2dc18bc
parent6d8b4dbb11416fe3143c20160a5ed3362a204dcb
verify_heads() needs to be aware of the branch renaming map

As all branches created on the git side are transformed by
sanitize_name(), this should be a safe backwards compatible change. If a
user is doing incremental imports and sanitize_name() now suddenly
modifies the branch name, verify_heads() would already have complained
on the first incremental run.

Thanks goes to Steve Tousignant<s.tousignant@gmail.com> for discovering
the problem.
hg-fast-export.py