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

Re: [GIT-SVN] master follows not trunk

From
EWEric Wong <normalperson@yhbt.net>
Date
Apr 23, 2009, 18:37 UTC
Message-ID
<20090423183705.GB17467@dcvr.yhbt.net>
In-Reply-To
<36ca99e90904220821u3dae67d7jcb6366d7a95dfbd1@mail.gmail.com>
Bert Wesarg <bert.wesarg@googlemail.com> wrote:
Show 13 quoted lines
> Hi,
> 
> it seams so, that git-svn sets the master branch to that svn branch
> which has the highest revision!
> 
> I cloned a svn repo today where exactly this happend. I.e. master
> pointed not to the trunk but to the branch with the highest revision.
> After trunk moved forward, a git svn rebase told me that master is up
> to date.
> 
> A second clean clone of this repo and master pointed to trunk.
> 
> Is this indented?

Yes it was intended. It was once the case that several repositories I tracked had work done almost exclusively in branches and trunk could've been months/years behind and worthless.

However, this issue has come up many times now so maybe setting master==trunk if trunk exists (sometimes it does not)...

Any objections?
-- 
Eric Wong
Previous: Deskin MillerNext: Pascal Obry
Message 3 of 4 in “[GIT-SVN] master follows not trunk”
  1. Bert WesargApr 22, 2009
  2. Deskin MillerApr 23, 2009
  3. Eric WongApr 23, 2009
  4. Pascal ObryApr 23, 2009

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.