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

Re: large number of large binary files in subversion

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 23 May 2011 21:28:13 +0200

On Mon, May 23, 2011 at 11:07:50PM +0400, Konstantin Kolinko wrote:
> In svn 1.7 there is pristine storage area in the working copy, where
> all present files are stored by their checksums. If I understand this
> pristine storage correctly, if you move a file remotely on the server
> (svn mv URL URL) then when you update your working copy and both old
> and new paths are in the same working copy, Subversion will find the
> file in its pristine storage and won't re-download it over network. If
> what I wrote is true (I have not verified whether this actually works
> this way, but I have some hopes),

Unfortunately, that's not how it works.

When a new file is added during an update, the entire file content is
first spooled to a temporary file to calculcate its checksum.
If a pristine with the same checksum is already present, the temporary
file is deleted.

(see pristine_install_txn() in subversion/libsvn_wc/wc_db_pristine.c)
Received on 2011-05-23 21:28:56 CEST

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

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