Reputation: 399
Merging branch A into branch B(local working copy) where branch A added a couple of new folders with new files. The new folders all got flagged as "Tree conflict" with error message: "The last merge operation tried to modify the directory '[folder name]', but the directory is missing locally."
Ya no kidding it's missing locally, it was created in the other branch and should be copied into the local working branch along with all files/folders inside it!
I have a reasonable understanding of what Tree Conflicts are and I do not believe this should be one. The new folder in A never existed in B!
What can I do? Doing a diff between the two branches with WinMerge and only selecting "show left unique items" is error prone because of files that were deleted in B that were not deleted in A.
Upvotes: 4
Views: 3513
Reputation: 11463
This happened to me when I manually selected a couple revisions to merge to a different branch, but missed the one that actually created the folders (sloppy, I know).
Including the revision that created the folders solved the problem.
Upvotes: 1
Reputation: 399
I was able to get the files copied over with their history by simple TortoiseSvn -> Paste command:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-copy.html
Upvotes: 1