Smart-Git:将新的远程svn分支添加到现有存储库

时间:2014-09-16 00:58:15

标签: git svn git-svn smartgit

我正在尝试添加一个非标准格式的新远程分支,并且在执行此操作时遇到问题。

我想也许只是修改svnkit配置文件就可以做到并且提取会做,但我没有得到任何结果。

存储库布局

     branches/** 
     master/ 
     release/ 
     prerelease/ <-- this branch is new 

这是我的配置文件:

    [svn-git-remote "svn"] 
        url = http://mysvn:8080/svn/Repo
        fetch = trunk:refs/remotes/svn/master 
        branches = branches/*:refs/remotes/svn/branches/* 
        additional-branches = "release:refs/remotes/svn/release;prerelease:refs/remotes/svn/prerelease" 
    [core] 
        processExternals = true 
        processIgnores = true 
        processEols = false 
        processTags = true 
        processOtherProperties = true 
        gitSvnAttributesThreshold = 32 

任何人都有任何猜测我做错了什么?

2 个答案:

答案 0 :(得分:1)

克隆后无法修改svngitkit.config文件,但可以为新克隆[1]执行此操作。

答案 1 :(得分:0)

我想这可能只会通过修改svngitkit.properties文件来使用最新的SmartGit版本完成,如下所述:https://www.syntevo.com/doc/display/SG/SVN%3A+cloning+with+a+custom+branch+layout