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

Possible error on the git-svn man page

From
SISzuba, Marek (IKP) <marek.szuba@kit.edu>
Date
Jun 28, 2013, 07:54 UTC
Message-ID
<20130628095442.3304163d@ifurita.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
Next: Jonathan Nieder
Message 1 of 2 in “Possible error on the git-svn man page”
  1. Szuba, Marek (IKP)Jun 28, 2013
  2. Jonathan NiederJul 7, 2013

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.