git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn tags and branches

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Aug 27, 2007, 15:42 UTC
Message-ID
<faurcl$p0o$1@sea.gmane.org>
In-Reply-To
<867inhqaj9.fsf@lola.quinscape.zz>
On Monday 27 August 2007 17:09, David Kastrup wrote:
Show 5 quoted lines
> Giuseppe Bilotta <giuseppe.bilotta@gmail.com> writes:
>>
>> Currently, git-svn imports svn tags as lightweight git tags.
> 
> It does?  I see them as branches.

Oh, I thought that them being in refs/remote/tags meant they were remote tags. But yes, I had noticed them appearing with git branch -r

Show 12 quoted lines
>> I was susprised when I discovered this (from 'git describe'
>> failing and some helpful assistance on the IRC channel), so
>> I'm now wondering: is there a technical reason why they
>> aren't converted to annotated tags? If not, would it be
>> possible to implement this in git-svn, possibly with some
>> way to 'fix' existing git-svn repository?
> 
> I actually don't see how one can safely make them tags at all (rather
> than branches) since Subversion does not enforce the members of a
> "tags" subdirectory to remain unchanged after the initial copy.
> Basically, tags are not different from branches in Subversion from
> what you can do with them.

Although this is technically true, I doubt there are many Subversion projects which alter the members of a tags subdirectory. So the fact that it's technically possible doesn't really mean it happens.

I mean, even in git you can do some pretty dirty tag stuff. It may not be as straightforward as in svn, but still ...

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.

-- 
Giuseppe "Oblomov" Bilotta
Previous: Giuseppe BilottaNext: Eric Wong
Message 6 of 17 in “git-svn tags and branches”
  1. Giuseppe BilottaAug 27, 2007
  2. David KastrupAug 27, 2007
  3. Mike HommeyAug 27, 2007
  4. Benoit SIGOUREAug 27, 2007
  5. Giuseppe BilottaAug 27, 2007
  6. Giuseppe BilottaAug 27, 2007
  7. Eric WongAug 30, 2007
  8. Giuseppe BilottaAug 30, 2007
  9. Peter BaumannAug 30, 2007
  10. Giuseppe BilottaAug 30, 2007
  11. Giuseppe BilottaAug 29, 2007
  12. Andreas EricssonAug 29, 2007
  13. Junio C HamanoAug 29, 2007
  14. Giuseppe BilottaAug 29, 2007
  15. Junio C HamanoAug 29, 2007
  16. Giuseppe BilottaAug 29, 2007
  17. Giuseppe BilottaAug 29, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.