AnkhSVN - 保留本地副本并获取最新版本
我刚开始使用 ankhSVN 并且遇到了问题。 我创建了一些未提交的新文件。 我需要获取最新版本。 我右键单击该文件夹并选择更新。 我没有获得最新版本,而且我的文件也不存在。 它的左侧有一个问号图标。 理想情况下,我想知道使用 ankhSVN 的程序是什么。
感谢致敬, 阿什什·阿加瓦尔 [电子邮件受保护]
I m new to use ankhSVN and having issues. I have created some new files which are not commited. It was required that i need to get latest version. I right clicked the folder and selected update. I didnt get the latest version and also my files were not present. It had a question mark icon towards the left.
Ideally i want to know what is the procedure to use ankhSVN.
Thanks and regards,
Ashish Agarwal
[email protected]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
[无关:如果您不想收到垃圾邮件,请从您的问题中删除您的电子邮件地址。您可以通过 RSS 和邮件通过您的个人资料设置收到更新通知]。
您在 Visual Studio 中看到的“文件夹”不是普通的文件夹/目录。 它们只是您项目的过滤器。 对于某些项目类型,它们映射到实际文件夹(例如 C#、VB 和网站),但对于其他项目则不会(例如 C、C++、安装程序、数据库...)。
所以实际上您只是更新过滤器/文件夹的选择以及下面的所有内容。
对于大多数任务,您应该始终更新解决方案、项目级别或单个文件,因为在项目不引用其中文件的情况下更新子目录是一项可能会导致项目损坏的操作。 (新文件不会包含在您的项目中,旧文件也不会被删除)。
AnkhSVN 允许您通过选中对话框底部的 [X] 递归复选框来一次更新整个目录,但这不是默认设置。
[Unrelated: Please remove your e-mail address from your question if you don't want to receive spam.. you can be notified on updates via RSS and mail via your profile settings].
The 'folders' you see in Visual Studio are not normal folders/directories. They are just filters on your project. For some project types they map to actual folders (E.g. C#, VB and websites), but for other projects they don't (E.g. C, C++, Setup, Database, ...).
So actually you are just updating the selection of the filter/folder and everything below.
For most tasks you should always update on either the solution, the project level or a single file, as updating a subdirectory without the project referencing the files inside is an operation that can leave you with a broken project. (New files won't be included in your project and old files won't be removed).
AnkhSVN allows you to update the whole directory at once by checking the [X] Recursive checkbox at the bottom of the dialog, but this is currently not the default setting.