使用 TortoiseSVN 进行更新时,删除的文件会“恢复" [英] Deleted files are 'restored' when doing an update with TortoiseSVN

查看:61
本文介绍了使用 TortoiseSVN 进行更新时,删除的文件会“恢复"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我从我的工作副本中删除一个文件,然后执行更新,则删除的文件将被恢复.

If I delete a file from my working copy, then do an Update, the deleted file is restored.

这很烦人,因为我必须找到文件并再次删除它.

This is quite annoying, because I then have to go find the file and delete it again.

我不知道为什么 SVN 会这样做.如果我想做一个更新,这意味着我想从存储库中提取任何更改.这并不意味着我要恢复已删除的文件.

I'm not sure why SVN does this. If I want to do an Update, it means I want to pull down any changes from the respository. It doesn't mean I want to restore files that I have deleted.

有解决方法吗?

推荐答案

如果你想从 SVN 中删除文件,你需要做一个 SVN 删除,而不是仅仅在本地删除文件.SVN 删除位于 TortoiseSVN 上下文子菜单中.

If you want to delete the file from SVN, you need to do an SVN delete, not just delete the file locally. SVN delete is in the TortoiseSVN context submenu.

这篇关于使用 TortoiseSVN 进行更新时,删除的文件会“恢复"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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