[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: question about *.merge-right.r*

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 2 Dec 2010 09:38:22 -0500

> I have a branch of trunk that I'm doing some work it. Someone
> committed changes to ^/trunk that I wanted, so I ran "svn merge
> ^/trunk" in a wc of my branch.
>
> One of the files had a conflict, and I postponed resolution. I
> opened
> the myfile.merge-left.r* and found the old version of the file. I
> opened myfile.working and found what is currently in my branch.
>
> But when I opened myfile.merge-right.r*, the contents didn't match
> any
> version of the file I can find. None of the myfile.* files match
> what
> is in ^/trunk. I thought the myfile.merge-right.* file was supposed
> to
> be a copy of the file from ^/trunk.
>
> Can someone help me understand this? What gets put in the merge-
> right file?

I expect it is your BASE version. Here is the info from the book:

For every conflicted file, Subversion places three extra unversioned files in your working copy:

filename.mine
This is your file as it existed in your working copy before you updated your working copy—that is, without conflict markers. This file has only your latest changes in it. (If Subversion considers the file to be unmergeable, the .mine file isn't created, since it would be identical to the working file.)

filename.rOLDREV
This is the file that was the BASE revision before you updated your working copy. That is, the file that you checked out before you made your latest edits.

filename.rNEWREV
This is the file that your Subversion client just received from the server when you updated your working copy. This file corresponds to the HEAD revision of the repository.

Here OLDREV is the revision number of the file in your .svn directory, and NEWREV is the revision number of the repository HEAD.


BOb

Received on 2010-12-02 15:39:02 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.