简体   繁体   中英

Subversion: merge moved file

I've moved (renamed) a file in a local SVN directory:

svn move src_file_path dst_file_path

When I've tried to svn up , I got:

D     C src_file_path
      >   local delete, incoming edit upon update

This means someone else edited the file that I moved.

How do I merge the changes made by the other contributor into the new location?

PS - This is the same branch, unlike this question .

You got a tree conflict. Take the Show > Tree Conflicts option and then take the Resolve option on the tree conflict. This will launch a wizard that gives you options based on the conflict. In this case, one of those will help you merge changes into the new location.

合并WC中的文件与回购中的文件

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM