jyknight / llvm-git-migration

7 stars 6 forks source link

zip-downstream-fork.py should update tags #10

Closed greened closed 5 years ago

greened commented 5 years ago

Currently zip-downstream-fork.py doesn't update any tags or other refs pointing to commits referenced by submodules. This is because the tool only rewrites commits in the umbrella repository, not the subproject commits themselves.

The tool could update the revmap to point the submodule-referenced commits to the corresponding rewritten umbrella commit. Then fast_filter_branch.py's ref rewriting should naturally process tags and other refs correctly.