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

Re: Updating a new branch with existing files from filesystem in 1.7

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Mon, 19 Dec 2011 08:39:12 +0100

Am 16.12.2011 19:53, schrieb Adam Walling:
> When creating a new branch, obviously everyone will need to download
> it for maintenance and etc.

No, only those that are actually using that branch and working on it
somehow need it.

> The naive approach is to simply update and download the new branch
> from the server. However, with a large branch and with many users
> simultaneously updating, this quickly overloads the bandwidth and
> may end up takings hours to complete.

What kind of setup do you have? If the users are on a LAN, you could
speed up using caching with svnsync.

> With 1.6, we would take advantage of being able to copy all of trunk
> to the new branch directory on the local filesystem, and then switch
> to the actual branch URL and update, therefore only transferring
> files that actually differ. This is pretty much the process touched
> upon in the svnbook
> http://svnbook.red-bean.com/en/1.7/svn.branchmerge.switchwc.html
>
> In 1.7 this does not seem to be possible, since there are no entries
> in the database for the local copies.

Yes, this still works. The fault is that you are checking out the whole
repository root instead of just those parts you are working on.
Therefore everybody has parts they don't need and everybody pays the
price (HD storage, update complexity) for things they don't really want.

Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
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. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2011-12-19 08:40:00 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.