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

Re: Problem merging file sent by collaborator

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Wed, 18 May 2011 11:07:30 +0100

On 18 May 2011 10:31, JamieVicary <jamievicary_at_gmail.com> wrote:
> Hi,
>
> I'm in a pickle, hopefully someone can help. I'm working on a project with a
> friend, who's been having problems with his SVN client (not Tortoise.) In
> exasperation, he's just emailed me the updated version of the document. In
> the meantime, I've also made changes to the document (I'm using Tortoise.)
> So, I need to merge his changes into my version, which is nontrivial since
> we've edited the same document in different ways in different places.
>
> I just can't see how to accomplish this, although it should be trivial for
> TortoiseMerge. If I copy his version into my working directory, temporarily
> overwriting my version of the file (I've kept a safe copy) and select "Diff
> from previous version" from the TortoiseSVN menu, I get TortoiseMerge coming
> up with my version on the left and his version on the right. But it's not
> making any effort to combine our edits, and there's no third 'merge' window
> at the bottom, showing the result of combining our edits.

For simplicity I will assume that you are both working from the
current HEAD revision of the file.

Save your own copy of the file somewhere safe.
Overwrite it with his changed file.
TSVN->Create patch for that file.
Overwrite the file with your copy again.
Apply the patch you just created.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2740188
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-05-18 12:07:36 CEST

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

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