I am using svn with a feature branch scheme. Whenever I try to merge trunk to a branch, I got the problem "local delete, incoming delete upon merge". It does not make sense to me. What I did to reproduce the error: 1) create a branch with "svn copy ^/blabla/trunk ^/blabla/branches/test-merge" 2) add a new file to trunk "touch t.c ; svn add t.c ; svn commit" 3) merge to trunk to branch "svn merge ^/blabla/trunk ^/blabla/branches/test-merge" The output is:
--- Merging differences between repository URLs into '.':
C t.c
Summary of conflicts:
Tree conflicts: 1
I am using version "1.6.17 (r1128011)"
Resolving the conflict manually (with svn accept) does not help. The new file does not appear in the branch and a new merge results in the same conflict.
What am I doing wrong?
Extraction from
svn help merge
I'll skip some preliminary steps before merge and will use Win-style paths in some places (no bash here, sorry) and slightly change workflow (branch will be non-empty)
(repo and WC prepared, but still empty)
Files created and commited to trunk
Branch initiated
Test it
and get updated WC after
svn up
in Z:\localws\mtreeAdded new file to trunk, edited file in branch
Server-side view
Sync branch with trunk - merge changes from trunk to test-reintegrate
Check WC state
and commit results
Server-side
Resume
My changes in comparison to your style (and "win ws fail" result)
Full path without ^ shorthand (I got error even on
svn copy
stage, AFAIK ^ recommended and usable in case of "branch in the root of WC" style, not combined common WC /but I could be wrong/)Using classic form of merge (Single URL)
HTH