Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用 svnsync 创建镜像存储库。
一切正常,但同步过程完成后,它显示以下消息。
注意:标准化 svn:* 属性到 LF 行结尾(2 rev-props,0 node-props)。
我搜索了这条消息,但一无所获(我会说我无法理解)
谁能解释该消息的含义?
该链接声称:
Subversion 一直记录属性必须有 LF 行结尾。在 1.6 中,服务器开始强制执行它。
虽然我找不到关于它的官方文档。
以上更改导致错误:
当源在 svn:* 属性(eol 样式)中有 ^M 时,svnsync 失败。
通过自动将 SVN 道具 EOL 更改为 LF,在 svnsync中修复了错误:
修复问题 #3404:在 svnsync 期间规范化 svn:* props 中的行尾。始终自动将所有 svn:* 属性转换为 LF 行尾样式,并在所有其他操作完成后集体通知所有规范化。