我想在svn服务器上创建一个新分支,然后创建一个本地分支来跟踪这个新分支。
但是我觉得在这个过程中出了问题,因为在svn服务器上创建了一个分支,但是我无法获取它。
$git svn branch -m "new-branch-message" new-branch
Copying http://pathtorepo/project/trunk at r28074 to http://pathtorepo/project/branches/new-branch...
Found possible branch point: http://pathtorepo/project/branches/BRANCH-2-2-11-0 => http://pathtorepo/project/tags/VER-2_2_11-1, 27365
Found branch parent: (refs/remotes/tags/VER-2_2_11-1) 243dea0687bd6721621ab4f7287dec7e121489e8
Following parent with do_switch
Invalid filesystem path syntax: Cannot replace a directory from within at /usr/libexec/git-core/git-svn line 5097
$cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[svn-remote "svn"]
url = http://pathtorepo
fetch = project/trunk:refs/remotes/trunk
branches = project/branches/*:refs/remotes/*
tags = project/tags/*:refs/remotes/tags/*
$git svn --version
git-svn version 1.7.1 (svn 1.6.11)
对'无效文件系统路径语法'错误意味着什么的任何想法?我是否正确设置了git repo?