On Thu, Jun 21, 2007 at 10:00:00AM -0500, Jeffrey C. Ollie wrote:
This quickie Python script should convert the "tag branches" to regular
Git tags:
import os
refs = os.popen('git-for-each-ref --format="%(objectname)%00%(refname)%00" refs/remotes/tags')
for line in refs:
[sha, ref] = line.split('\0')[:2]
os.system('git tag %s %s' % (ref[18:], sha))
Thanks! I'll give that a try. It would be nice if this sort of cleanup
were part of git-svn in some way, though. I doubt I'll be the last
person wanting an easy conversion from SVN.
Cheers,
Dave