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

Re: git-svn branches creation question

From
Avery Pennarun <apenwarr@gmail.com>
Date
Jun 26, 2008, 16:08 UTC
Message-ID
<32541b130806260908m7ca2060bub071da52aa7a33ce@mail.gmail.com>
In-Reply-To
<4863BBFB.8010305@obry.net>
On 6/26/08, Pascal Obry <pascal@obry.net> wrote:
Show 8 quoted lines
>  Is it possible to create and track new branches (or tags) using git-svn?
>
>  I know how to track existing branches, but new ones?
>
>  Some context. I'm tracking a CVS repository doing update from time to time
> on the master branch (using simply rsync and git-svn dcommit). Now I want to
> add a new tag for updates on the master. Currently I'm using svn copy. I'd
> like to do this directly from Git.

I don't think there's a way to do this. You can create branches in git that *aren't* tracked in svn, of course, if you want to do that.

And creating branches in svn is a single command, even if you don't have an svn checkout:

   svn cp $SVN/trunk $SVN/branches/whatever
So it seems unnecessary to duplicate this feature in git.
Have fun,
Avery
Previous: Pascal ObryNext: Pascal Obry
Message 2 of 3 in “git-svn branches creation question”
  1. Pascal ObryJun 26, 2008
  2. Avery PennarunJun 26, 2008
  3. Pascal ObryJun 26, 2008

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.