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

does vendor branch processing take advantage of repo history?

From: Robert P. J. Day <rpjday_at_crashcourse.ca>
Date: Fri, 22 Aug 2008 07:32:31 -0400

   i'm not sure i even know what i'm about to ask here but, what the
heck, let's give it a shot. i'm wondering if there's a processing
advantage to handling vendor branches when the vendor is also using
subversion.

   consider the explanation of how to handle vendor branches here:

http://lookfirst.com/2007/11/subversion-vendor-branches-howto.html

clearly, in that example, the author wants to merge the difference
between the vendor's versions 5.5.0 and 5.5.7. but because the vendor
(apparently) isn't using subversion, the author downloads the pristine
source code corresponding to those two versions, checks both into a
subversion repo, and uses those as the basis for the vendor branch
merge. so far, so good, and it should clearly work (barring have to
deal with any conflicts).

   but since those checkins are from pristine source code (versions
5.5.0 and 5.5.7), there will clearly not be any repository history
showing how the vendor got from one to the other, and the subsequent
merge can work only with a straight textual diff between those two
checkins. am i making sense so far?

   however, imagine the vendor was using also subversion, and you had
(read-only, of course) access to their source code repos. obviously,
you can skip all that un-tarring and checking in on *your* end, and
just merge directly against the two versions in your vendor's
repository.

   would that represent any advantage? since, in the second case, you
not only have the contents of the two trees, but you (theoretically)
have access to all of the repository history of how the vendor got
from the first version to the second. does that make any difference
to the merge operation?

rday

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-22 13:32:55 CEST

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.