I'm using TortoiseSVN to do a merge. I'm trying to merge /branch/A into /branch/B which were both branched from /trunk. I'm getting a Tree Conflict and the dialog contains a message like this:
The last merge operation tried to add the file 'x.cs' but the file was obstructed in the working copy.
It gives me the option to Accept the current working copy, postpone or resolve later.
I thought this meant that two files of the same name had been added separately to each branch. Have I understood what this conflict is correctly? If I have, why is it not giving me the option to Merge the two files together?
It means that a file named x.cs
was added in branch/B
. However, in branch/A
there was also a file named x.cs
added. Both files named x.cs
are not related but were added independently.
Now you're trying to merge branch/A
into branch/B
. That merge tries to add the file x.cs
that was added in branch/A
now to branch/B
. But there already is a file named x.cs
in branch/B
, and that file obstructs the one from branch/A
.
That's what the error message is telling you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With