TortoiseSVN将未更改的DLL标记为已更改 [英] TortoiseSVN flagging unchanged DLLs as changed

查看:151
本文介绍了TortoiseSVN将未更改的DLL标记为已更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一名同事与TortoiseSVN有问题。当她在Visual Studio 2010中重建解决方案时,Tortoise将项目中所有附加的DLL标记为已修改,但尚未触及它们。有谁知道为什么会这样?我对Tortoise很新,所以如果很明显,请保持温柔。 :)

A co-worker is having an issue with TortoiseSVN. When she rebuilds a solution in Visual Studio 2010, Tortoise is flagging all the attached DLLs in the project as "modified", but they haven't been touched. Does anyone know why this would happen? I'm fairly new to Tortoise, so if it is obvious, please be gentle. :)

推荐答案

我把它挖出来并处理好事情:



第三方库

如果第三方库直接存储在工作副本中,即不通过svn:externals属性,那么更新它们并不容易。



只是复制新版本当然会有效,但如果新版本删除了文件,那些文件仍然会在你的工作副本中。



在版本1.8中,TortoiseSVN提供了一种更简单的方法:只需将具有新版本库的文件夹右键拖动到存储在工作副本中的版本,然后在此处选择SVN供应商分支


。 TortoiseSVN然后扫描两个目录,复制所有新文件,删除新版本中不再存在的文件。



TortoiseSVN更新文件夹后,你所要做的就是提交新版本。
I dug this up and it took care of things:

Third party libraries
When there are third party libraries stored in the working copy directly, i.e., not via the svn:externals property, then updating those is not quite easy.

Just copying over the new version will work of course, but if the new version has files removed, those files will still be in your working copy.

In version 1.8 TortoiseSVN offers an easier way to do this: just right-drag the folder with the new version of the library to the version stored in your working copy, then select SVN vendor branch here

from the context menu. TortoiseSVN then scans both directories, copies all new files, removes files that are not present anymore in the new version.

After TortoiseSVN updated the folder, all you have to do is commit the new version.


请参阅我对问题和建议的评论。请阅读以下概念:

http://tortoisesvn.net/ docs / release / TortoiseSVN_en / tsvn-dug-externals.html [ ^ ],

http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html [ ^ ],

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-howto-common-projects.html#tsvn- howto-common-externals [ ^ ]。



-SA
Please see my comment to the question and the suggestions. Please read about the concept:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-externals.html[^],
http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html[^],
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-howto-common-projects.html#tsvn-howto-common-externals[^].

—SA


这篇关于TortoiseSVN将未更改的DLL标记为已更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆