git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* create branch from svn repos
@ 2010-04-27 20:59 Ming Zhang
  2010-04-27 23:25 ` Dmitrijs Ledkovs
  0 siblings, 1 reply; 2+ messages in thread
From: Ming Zhang @ 2010-04-27 20:59 UTC (permalink / raw)
  To: git

Hi All

I have a svn repos with this layout

trunk
tags
branches-- b1
                    b2
                    dir/ b3
                           b4

i used git-svn to clone a svn repos. and i have remote branches like

svn/b1
svn/b2
svn/dir

i can create a local branch from b1 or b2, or even dir with command like
git checkout -b local/b1 svn/b1

but if i want to create a local branch for b3 with command
git checkout -b local/b1 svn/dir/b3

it will fail with error messages like

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-27 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27 20:59 create branch from svn repos Ming Zhang
2010-04-27 23:25 ` Dmitrijs Ledkovs

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).