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

Git on SVN: space characters in branch names

From
BTBen Tebulin <nntp.20.jexpert@spamgourmet.com>
Date
Mar 6, 2012, 17:31 UTC
Message-ID
<jj5hl0$7dm$1@dough.gmane.org>

Hi! I'm trying to move to Git on top of Subversion in my company environment using Cygwin/Git 1.7.9. Therefore I'm trying to clone a set of SVN repositories.

The SVN repository I'm trying to clone contains a commit, where a branch was accidentally named "1.1.x _M1":

   git svn clone -s https://svnserver/repository project.git \
       --ignore-path=".*(?:1.1.x _M1|1.1.x%20_M1)"
This skips the initial commit, but still stumbles on the rename commit:
   Found possible branch point: \
	https://svnserver/repository/branches/1.1.x _M1 => \
	https://svnserver/repository/branches/1.1.x_M1, 2374
   fatal: Not a valid object name refs/remotes/1.1.x _M1
   cat-file commit refs/remotes/1.1.x _M1: command returned error: 128
Do I have to ignore the branch completely?
Thanks
- Ben
Message 1 of 1 in “Git on SVN: space characters in branch names”
  1. Ben TebulinMar 6, 2012

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.