首页 > 解决方案 > 如何修复 subgit 中的导入错误(布局选项冲突)

问题描述

我试图迁移一个 svn,但在导入时出现以下错误:

error: The following layout options conflict (intersect) in configuration file <File>
error:  svn.tags = tags/0.8.1/tags/*/js:refs/tags/0.8.1/*
error:  svn.tags = tags/0.8.1/*/js:refs/tags/0.8.1/*.
error: Please specify non-conflicting options and try again.

这里哪里有冲突??

标签: importsubgit

解决方案


冲突发生在映射的 Git 端,您尝试使用相同的 git 命名空间来存储来自不同 svn 位置的标签。尝试使用不同的命名空间,例如:

[svn]
    tags = tags/0.8.1/tags/*/js:refs/tags/0.8.1/tags/*
    tags = tags/0.8.1/*/js:refs/tags/0.8.1/*

这应该可以正常工作。


推荐阅读