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

Re: create branch from svn repos

From
Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
Date
Apr 27, 2010, 23:25 UTC
Message-ID
<n2v86ecb3c71004271625r4f546c93v394c211f6beb27@mail.gmail.com>
In-Reply-To
<j2h93552bad1004271359q63611fcdn82a3915a3bb74b25@mail.gmail.com>
On 27 April 2010 21:59, Ming Zhang <blackmagic02881@gmail.com> wrote:
Show 9 quoted lines
> fatal: git checkout: updating paths is incompatible with switching
> branches/forcing
> Did you intend to checkout 'svn/dir/b3' which can not be resolved as commit?
>
> so is what i want to do feasible?
>
> Thanks!
>
> Ming
$ git help svn

Read the last bits on how to define svn remote branches in the .git/config update your .git/config and do

$ git svn init $same_top_level_svn_url $ git svn fetch

Previous: Ming Zhang
Message 2 of 2 in “create branch from svn repos”
  1. Ming ZhangApr 27, 2010
  2. Dmitrijs LedkovsApr 27, 2010

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.