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

Re: [PATCH] git-svn: allow to specify svn branch for commands

From
EWEric Wong <normalperson@yhbt.net>
Date
Jun 5, 2007, 09:56 UTC
Message-ID
<20070605095624.GA32225@muzzle>
In-Reply-To
<1181017002.27463.3.camel@megatron>
Stephen Touset <stephen@touset.org> wrote:
Show 9 quoted lines
> On Tue, 2007-06-05 at 15:42 +1200, Sam Vilain wrote:
> > "git-svn dcommit" ends up making an arbitrary decision when pushing
> > back merges.  Allow the user to specify which one is used, albeit in a
> > rather hack-ish way.
> 
> I've been thinking about this. I'm rather new to git internals, but if
> I've created a local copy of a remote branch (git-checkout -b
> local-branch --track remote-branch), can't git-svn use the tracking
> metadata to determine which part of the tree to dcommit to?

Probably. --track didn't exist when "git-svn dcommit" was written and I didn't even know about it until now. Needless to say, not everybody uses or knows about it, but it would probably be a good option to add to git-svn.

-- 
Eric Wong
Previous: Stephen Touset
Message 6 of 6 in “git-svn: allow to specify svn branch for commands”
  1. git-svn: allow to specify svn branch for commandsSam Vilain, Jun 5, 2007
  2. Eric WongJun 5, 2007
  3. Sam VilainJun 5, 2007
  4. Eric WongJun 5, 2007
  5. Stephen TousetJun 5, 2007
  6. Eric WongJun 5, 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.