git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
To: Ming Zhang <blackmagic02881@gmail.com>
Cc: git <git@vger.kernel.org>
Subject: Re: create branch from svn repos
Date: Wed, 28 Apr 2010 00:25:19 +0100	[thread overview]
Message-ID: <n2v86ecb3c71004271625r4f546c93v394c211f6beb27@mail.gmail.com> (raw)
In-Reply-To: <j2h93552bad1004271359q63611fcdn82a3915a3bb74b25@mail.gmail.com>

On 27 April 2010 21:59, Ming Zhang <blackmagic02881@gmail.com> wrote:
> 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

      reply	other threads:[~2010-04-27 23:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27 20:59 create branch from svn repos Ming Zhang
2010-04-27 23:25 ` Dmitrijs Ledkovs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=n2v86ecb3c71004271625r4f546c93v394c211f6beb27@mail.gmail.com \
    --to=dmitrij.ledkov@ubuntu.com \
    --cc=blackmagic02881@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).