svn 指定不更新目录

时间:2017-11-01 13:13:00   收藏:0   阅读:655

  打包时 有些目录不需要进行更新:

使用 svn update --set-depth=exclude  进行路径的排除

 

echo 更新Trunk_QA 排除Resoures下的Scenes等目录

svn update --set-depth=exclude  XXX1(需要排除的目录1)

svn update --set-depth=exclude  XXX2(需要排除的目录2)

svn update update  XXX3(更新父目录 并且上面两行进行了子目录的排除)

svn cleanup XXX1的直接父目录进行clean  清除 --set-depth=exclude的效果

svn cleanup XXX2的直接父目录进行clean  清除 --set-depth=exclude的效果

 

原文:http://www.cnblogs.com/sun-shadow/p/7765737.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!