Re: git-svn questions: how to clone/init non-standard layout branches/tags?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Lars Hjemli <hjemli@...>
Cc: Benoit SIGOURE <tsuna@...>, <git@...>
Date: Saturday, November 3, 2007 - 4:01 pm

On Nov 3, 2007, at 6:59 AM, Lars Hjemli wrote:


I did try to add a "fetch" line for the production branch like this:

[svn-remote "svn"]
         url = svn+ssh://host/svn/project
         fetch = production:refs/remotes/svn-prod
         fetch = trunk:refs/remotes/git-svn

which is modeled after http://lists-archives.org/git/420712-git-svn- 
remote-tracking-branch-question.html

But when I try to checkout the production branch like this:

git checkout -b prod remotes/svn-prod

I got this:
git checkout: updating paths is incompatible with switching branches/ 
forcing
Did you intend to checkout 'remotes/svn-prod' which can not be  
resolved as commit?

Can you shed some light on this? (git version is 1.5.3.4)

Thanks!

__Luke


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git-svn questions: how to clone/init non-standard layout..., Luke Lu, (Sat Nov 3, 4:01 pm)