[pulseaudio-discuss] git repo still contains old svn tags
gmane at colin.guthr.ie
Wed May 1 08:55:13 PDT 2013
'Twas brillig, and Tanu Kaskinen at 24/04/13 12:36 did gyre and gimble:
> On Wed, 2013-04-24 at 00:12 +0100, Colin Guthrie wrote:
>> When playing with the git repo, I see it still contains some heads with
>> the name "tags" e.g. refs/heads/tags/release-0.9.9
>> One tool I have here tries to interpret refs/heads/tags (probably badly)
>> and bails. Now this code should be more self tolerant, but having
>> recently done some git-svn conversions, I wonder if we shouldn't fix up
>> the legacy tag branches anyway?
>> e.g. if we run this code, it'll sort out the old "tags":
>> git for-each-ref --format='%(refname)' refs/heads/tags | cut -d / -f 4 |
>> grep ^release- | sed 's/^release-//' | while read ref; do git tag
>> "v$ref" "refs/heads/tags/release-$ref"; git branch -D
>> "tags/release-$ref"; done
>> Does this make sense?
> Sounds good to me.
Forgot to say, but this was done as people would likely have seen if
they had done a git pull.
Hope all is well with it :)
Tribalogic Limited http://www.tribalogic.net/
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the pulseaudio-discuss