从 VisualSVN 中意外排除
我不小心从 VS2008 项目根目录的 VisualSVN 菜单中选择了“从 Subversion 中排除”。我还没有更新或提交,所以我仍然有存储库和本地版本可用。
我需要知道如何重新包含已排除的项目。
I accidentally selected "Exclude from Subversion" from the VisualSVN menu on my VS2008 project root. I have not updated or committed so I still have both the repository and local versions available.
I need to know how to re-include the excluded project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
VisualSVN 应该具有允许您恢复更改的功能。如果您从项目根目录执行此操作,则应该能够撤消排除。
“从 Subversion 中排除”选择应该做的就是更新相关目录上的属性
svn:ignore
(您可以通过检查项目上的修改来验证这一点)。恢复该特定更改应该可以解决问题。希望这有帮助!
VisualSVN should have functionality to allow you to revert changes. If you do this from your project root, you should be able to undo the exclusion.
All that the "Exclude from Subversion" selection should have done was update the property
svn:ignore
on the directory in question (you can verify this by checking for modifications on your project). Reverting that specific change should correct the problem.Hope this helps!
使用 subversion 恢复项目文件。
Revert the project file using subversion.
(上面的轻率评论除外)被忽略的文件和文件夹列在父文件夹的 svn:ignore 属性中。我对 VisualSVN 不太了解,但您应该能够通过其界面编辑该属性;或者至少您应该能够通过命令行 svn.exe 来完成此操作。
(Flippant comments above aside) The ignored files and folders are listed in the
svn:ignore
property of the parent folder. I don't know much about VisualSVN, but you should be able to edit that property through its interface; or at least you should be able to do it through the command linesvn.exe
.