# Possible error on the git-svn man page

2 messages from 2013-06-28 to 2013-07-07. Participants: Szuba, Marek (IKP), Jonathan Nieder.
Thread: https://gitlist.dev/t/34293

## Szuba, Marek (IKP), 2013-06-28 07:54

Subject: Possible error on the git-svn man page
Message-ID: <20130628095442.3304163d@ifurita.qm.lan>
URL: https://gitlist.dev/e/20130628095442.3304163d%40ifurita.qm.lan

```
Hello,

On the git-svn(1) man page, the third example in the "Basic Examples"
section discusses how one can speed up the initial clone of a
Subversion repository by cloning it from Git first and linking it to
Subversion afterwards. However, it seems this example is not correct. I
have had several people try it on several different repositories, with
different git versions (specifically, 1.7 and 1.8) - and every time the
process fails at the same moment with the same error message:

$ git checkout -b master FETCH_HEAD
fatal: Cannot update paths and switch to branch 'master' at the same time.
Did you intend to checkout 'FETCH_HEAD' which can not be resolved as commit?

Therefore, I believe the man page ought to be updated so that the example works again.

If you have any questions, please let me know (by direct e-mail - I am not subscribed to the mailing list).

All the best,
-- 
MS

```

## Jonathan Nieder, 2013-07-07 02:15

Subject: Re: Possible error on the git-svn man page
Message-ID: <20130707021558.GC4193@google.com>
URL: https://gitlist.dev/e/20130707021558.GC4193%40google.com
In-Reply-To: <20130628095442.3304163d@ifurita.qm.lan>

```
Hi,

Szuba, Marek (IKP) wrote:

> On the git-svn(1) man page, the third example in the "Basic Examples"
[...]
> $ git checkout -b master FETCH_HEAD
> fatal: Cannot update paths and switch to branch 'master' at the same time.
> Did you intend to checkout 'FETCH_HEAD' which can not be resolved as commit?

What branch are you on when you run "git fetch"?  What does "git log
FETCH_HEAD" say?  Is this repository public, which would let people on
this list try it out?

Thanks,
Jonathan

```
