Why am I getting tree conflicts in Subversion?

前端 未结 12 2132
灰色年华
灰色年华 2020-11-30 16:25

I had a feature branch of my trunk and was merging changes from my trunk into my branch periodically and everything was working fine. Today I went to merge the branch back d

12条回答
  •  隐瞒了意图╮
    2020-11-30 16:54

    I had a similar problem. The only thing that actually worked for me was to delete the conflicted subdirectories with:

    svn delete --force ./SUB_DIR_NAME
    

    Then copy them again from another root directory in the working copy that has them with:

    svn copy ROOT_DIR_NAME/SUB_DIR_NAME
    

    Then do

    svn cleanup
    

    and

    svn add *
    

    You might get warnings with the last one, but just ignore them and finally

    svn ci .
    

提交回复
热议问题