douya6229 2012-06-04 08:03
浏览 117
已采纳

SVN:树冲突什么时候 - “本地删除,更新时传入编辑”发生?

What I did :

  1. Performed svn up
  2. Renamed a folder from foo to bar
  3. Again performed svn up and got the conflict : local delete, incoming edit upon update

But why ?

  • I did svn log -v and found no commit post step 1
  • So, in that case svn should understand that I am renaming foo to bar
  • Why to raise a conflict if no one else has made changes to foo ?

Please explain how does svn looks at this situation ?

  • 写回答

2条回答 默认 最新

  • duanmo7075 2012-06-04 09:07
    关注

    Cause: SVN does not know that you renamed the directory. In the meanwhile someone edited files in the directory and SVN is trying to find it in order to update. To rename the directory properly: rename it back to the old name locally and then run svn rename command (do svn rename --help for more info). You do not have to commit right away.

    Note that svn log prints out the log starting with BASE revision - i.e. the last updated revision of your working copy, so you need to do svn log foo@HEAD to really see if anybody changed it.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据
  • ¥15 (关键词-阻抗匹配,HFSS,RFID标签天线)