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

Re: Newby question regarding merging

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-04-20 14:10:56 CEST

On Friday 20 April 2007 11:42, Mads Pultz wrote:
> I was wondering how subversion performs a merge. Is it performed by the
> server or is it up to the subversion client?

The client, AFAIK.

> I mean, who performs the logic that compares the two files and
> determines whether or not there is a conflict?

Other than 'move' and 'mkdir', everything that creates a new revision is
always done from a working copy. The idea behind that is that you need to
test your changes anyway, so you also need local versions of the files.
Further, if you have local changes and update you WC, you in fact perform a
merge from the current WC's revision to HEAD, and that needs to be done
client-side since only the client knows the local changes.

> How is this different than how it is done by CVS?

I'm not sure, but I think the mechanism is the same. However, CVS doesn't have
pristine copies of the files in the WCs, so you need to retrieve all files
anew for comparison and merging. I'm not sure how CVS works though.

Any reason for your questions or just interest?

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 20 14:10:03 2007

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.