Skip to content

Do not truncate `branchname-root` tag name when renaming a branch to `refs/tags/branchname`

I was trying to use the read --nobranch + manual branchlifting approach to re-create the same output as a "normal" lift on a Subversion repository with commits after tag creation. (See attached cases from first commit.)

The test failed, because on renaming branch rename refs/heads/2.0 tags/2.0, the earlier created tag 2.0-root was wrongfully truncated to .0-root by one of reposurgeons "little weird and kludgy" parts, because it assumed the newname to always start with heads/ (and not tags/ as in my case).

By the way: Is there is a better way to do a manual "taglift" than what I did in tagwithcommits-manual.tst? If yes, please point me to it!

Edited by Florian Karuhtz

Merge request reports