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

Re: Equivalent of `svn switch` for git-svn?

From
Pierre Habouzit <madcoder@debian.org>
Date
Sep 27, 2007, 17:02 UTC
Message-ID
<20070927170205.GA6076@artemis.corp>
In-Reply-To
<46FBDCBF.7060909@apple.com>
On Thu, Sep 27, 2007 at 04:39:27PM +0000, Adam Roben wrote:
Show 5 quoted lines
> Will doing this then change all the git-svn-id: lines in the commit logs 
> for those imported revisions? I'm asking because my understanding is that 
> git-svn uses those git-svn-id: lines to determine which branch you're on, 
> and if the URLs are now all out of date won't it then think it can't 
> determine the correct branch?
  fwiw If it breaks git-svn, then it's a deep git-svn misconception.
I've always believed that git-svn should always have done what git
checkout --track do, meaning set into the configuration which svn remote
branch you are following.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Adam Roben
Message 5 of 5 in “Equivalent of `svn switch` for git-svn?”
  1. Adam RobenSep 27, 2007
  2. Pierre HabouzitSep 27, 2007
  3. Johannes SchindelinSep 27, 2007
  4. Adam RobenSep 27, 2007
  5. Pierre HabouzitSep 27, 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.