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 29, 2007, 08:41 UTC
Message-ID
<cb7bb73a0708290141y159d6bbfj2bac23af5e86bb15@mail.gmail.com>
In-Reply-To
<46D4ECE2.9020806@vilain.net>
On 8/29/07, Sam Vilain <sam@vilain.net> wrote:
> Giuseppe Bilotta wrote:
Show 12 quoted lines
> > I gather from the man page that doing this is highly frowned upon, and
> > requires manual intervention from all the poor souls that pulled in
> > the mean time.
>
> Right, but I think the bad practice should be propagated anyway.  It
> will affect virtually no-one, and serves to make it the case that even
> if such a thing happened, then just fetching the tag gives the expected
> behaviour.
>
> However I'd be prepared to accept that perhaps new tags should be made,
> eg "tags/svntagname.r1234", to reflect the fact there are there multiple
> tags with the same name but different contents.

Urgh. I think I like this idea even less. just use the tag 'tagname' and move it around then :)

BTW can git have a tag and a branch with the same name? If not, I would recomment the use of 'name' for the tag, 'name-branch' for the branch, and 'tag-name-branch' for the branch under the tag.

Show 7 quoted lines
> > I've been looking through the git-svn code to see if I could try an
> > implementation myself, but I must confess that the task seems way over
> > me ... I can't really wrap my mind around the git-svn code enough to
> > implement it.
>
> Coming up with agreed test cases is half (indeed sometimes most of) the
> work.

The only two svn projects I cooperate with don't have this particular situation. IIRC David mentioned the case?

-- 
Giuseppe "Oblomov" Bilotta
Previous: Giuseppe BilottaNext: Andreas Ericsson
Message 11 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.