【问题标题】:TortoiseSVN lost local changes after SVN UpdateSVN 更新后 TortoiseSVN 丢失本地更改
【发布时间】:2013-10-23 09:55:17
【问题描述】:

我进行了 SVN 更新,结果文件处于冲突状态并进行了一些合并。但是对于我的两个文件,它完全删除了我的文件版本并将它们替换为存储库中的版本。没有 *.mine 文件或类似的文件。我记得看到一条关于恢复 2 个文件的消息,这些文件是我丢失更改的文件。

【问题讨论】:

  • 你有什么问题?

标签: svn tortoisesvn


【解决方案1】:
  1. 对于有冲突的文件:

    Open it in difference/compare window or notepad & see the >>>>mine and 
    >>>>revision markers in your code. Keep the necesaary one and remove the other 
    along with the markers >>>>>mine and >>>>>>revision. Now right click on your 
    file ,tortiosesvn-> Resolved Conflicts and click ok and checkin the file. 
    Your fileis now update,merged and also committed to svn without any conflict.
    
  2. 对于丢失的更改 - Right click on the file Show Log -> See the last revision and get it.

我使用过 Tortoise SVN Client for Windows,步骤仅来自于此。它可能对其他人不可用,或者在现有版本中可能有所不同

【讨论】:

  • 我在日志中查找丢失的更改,但它不存在。我相信那些只显示以前提交的更改。
  • 然后试一试 UNDO 也不要保存你正在工作的解决方案/工作区,关闭它。重新打开看看是否有效
  • 承认,我在上下文菜单中看不到撤消选项。那应该在“TortoiseSVN”下?
【解决方案2】:

我怀疑这是 TortoiseSVN 中的一个错误。我团队的其他一些成员也遇到了同样的问题,而且似乎是在出现网络问题时发生的。

【讨论】:

    猜你喜欢
    • 2013-06-27
    • 2012-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-12-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多