为什么 svn update 丢弃本地更改?

Why svn update discard local changes?

我发现我的一些本地更改在

之后消失了

svn up

为什么会发生?

svn update command never discards or removes local changes made in your working copy. Maybe you ran the svn revert command instead? Or is there a conflict? What does svn status演出?

更新您的工作副本会从您的存储库中获取最新的更改,并且不会删除您的本地修改。如果传入的更改与您本地的更改冲突,则会发生冲突。 SVN 为您提供交互式或手动解决此冲突的方法。