Re: git-svn tags and branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Giuseppe Bilotta wrote:
> So yes, I still think that an option to convert svn tags to annotated
> tags would be appropriate. Wether or not it should be default, it's
> a different matter, of course.

I think this is a good idea; there is information in the commit which
copied the directory to tags/, important information such as who made
the tag, when they did it, and what message they chose for the commit.
Ideally the annotated tag should end up with a git-svn-id: line at the
end as well.

Currently, you get a branch, eg

wilber:~/src/parrot.tracking/.git$ git-log -2 tags/RELEASE_0_4_13
commit 97e4fa63ce1b29395c83aa0acd9a8724db74a349
Author: allison <allison@d31e2699-5ff4-0310-a27c-f18f2fbe73fe>
Date:   Tue Jun 19 23:33:47 2007 +0000

    tagged release 0.4.13

    git-svn-id: https://svn.perl.org/parrot/tags/RELEASE_0_4_13@19149
d31e2699-5ff4-0310-a27c-f18f2fbe73fe

commit 373782bc514d9e993d81ee3ae324b96cfa58c601
Author: allison <allison@d31e2699-5ff4-0310-a27c-f18f2fbe73fe>
Date:   Tue Jun 19 22:49:53 2007 +0000

    [RELEASE] Temporarily disable circle.pir example on darwin for release.

    git-svn-id: https://svn.perl.org/parrot/trunk@19148
d31e2699-5ff4-0310-a27c-f18f2fbe73fe
wilber:~/src/parrot.tracking/.git$ git-diff tags/RELEASE_0_4_13{^,}
wilber:~/src/parrot.tracking/.git$

In that case, I think that an annotated tag would be a better
conversion.  It just really needs a good test case drawn up, and then be
implemented.  For those 0.01% of tags that do change from the version
they were copied from, they must remain as branches.

Sam.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux