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

Re: git svn pointing at svn branch instead of trunk?

From
EWEric Wong <normalperson@yhbt.net>
Date
Aug 23, 2009, 02:51 UTC
Message-ID
<20090823025101.GA22562@dcvr.yhbt.net>
In-Reply-To
<2729632a0908221512v7d7af188h28d11a4bc8f092fc@mail.gmail.com>
skillzero@gmail.com wrote:
Show 22 quoted lines
> On Sat, Aug 22, 2009 at 1:46 PM, Eric Wong<normalperson@yhbt.net> wrote:
> 
> > So you have something like this?
> >
> > ----------trunk
> >              \
> >               \-> tag
> >
> > It looks like it's mixed but that's because trunk is an ancestor of your
> > tag, so the majority of commits (see git-svn-id:) look like they're from
> > trunk except the latest git-svn-id: which should have the URL of the tag
> > in it.  So in short, everything here is OK.
> 
> Yes, that's what I see: most of the commits have a /trunk URL except
> the last one has a /tags/TagX URL.
> 
> When the next commit happens on master (I don't have svn commit access
> on the svn repo to try it myself), will git svn automatically track
> master->trunk again? Or is there something I need to change to tell it
> "master tracks svn's /trunk"? I normally do git svn fetch and git svn
> rebase (while on master, I do all my own commits on a separate
> branch).

You need to reset your master to trunk so it knows to track trunk instead of tags/TagX

-- 
Eric Wong
Previous: skillzero@gmail.comNext: Daniele Segato
Message 4 of 5 in “git svn pointing at svn branch instead of trunk?”
  1. skillzero@gmail.comAug 22, 2009
  2. Eric WongAug 22, 2009
  3. skillzero@gmail.comAug 22, 2009
  4. Eric WongAug 23, 2009
  5. Daniele SegatoAug 30, 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.