zoukankan      html  css  js  c++  java
  • How to resolve conflicts in TortoiseSVN

    Sometimes, after we update our files from repository, we’ll meet this problem.

    image_thumb31 image_thumb

    If you open file, you will find it’s hard to understand and correct them.

    <<<<<<< .mine
    3 modifuy=======
    2 modify>>>>>>> .r288

     

    In fact, TortoiseSVN provides a good tool to help us resolve this issue. First, we need to Edit conflicts.

    image_thumb33

    There are three working regions, the left is from repository, the right is from my working file. the bottom you know, it’s the last result after your editing.

    image_thumb35

    I click one line and click right button of mouse, look here is context menu . You can choose to use this block or merge yours into the file,

    image_thumb37

    The merge result was changed according my decision. I click save and check the content of file in my PC, now it have been changed. But the flag of conflict still exist.

    image_thumb39

    Now, we click resolved.and now we can commit successfully.

    image_thumb41

     

  • 相关阅读:
    套接字(socket)
    网络编程
    面向对象之反射
    面向对象的多态
    面向对象之封装
    面向对象之继承
    面向对象之编程思想
    python中的包
    python中的序列化模块
    正则表达式
  • 原文地址:https://www.cnblogs.com/king_astar/p/1677042.html
Copyright © 2011-2022 走看看