简体   繁体   English

如何在与unison同步时排除svn元数据?

[英]How to exclude svn metadata while synchronizing with unison?

如何在与unison同步时排除所有svn元数据?

In my case (Version 2.40.65) the accepted solution don't work. 就我而言(版本2.40.65),接受的解决方案不起作用。 It only works for the .svn folder located directly in the root directory I am synchronizing. 它仅适用于直接位于我正在同步的根目录中的.svn文件夹。

The following line effectively does the ignore: 以下行有效地忽略了:

ignore = Name {.svn}

The Unison manual for version the Version 2.40.65 I am using confirms that. 我正在使用的版本2.40.65版本的Unison手册证实了这一点。

Add

ignore = Path {.svn}

to the .prf file in your .unison folder. 到.unison文件夹中的.prf文件。

如果您仍然遇到问题,以下内容适用于Windows:

ignore = Path {*/.svn}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM