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

Re: Updatable svn export

From: Andreas Stieger <andreas.stieger_at_gmx.de>
Date: Thu, 04 Jul 2013 19:15:15 +0100

On 04/07/13 14:30, David Schweikert wrote:
> On Thu, Jul 04, 2013 at 15:18:57 +0200, Johan Corveleyn wrote:
>>> We have a svn repository with many files (more than 30'000), and need to
>>> have the HEAD version exported to a filesystem, whenever a commit is
>>> done.
>>> ...
>> First thing to check IMO is whether the latest svn client isn't
>> already fast enough with a normal 'svn update'. Which svn client
>> version are you using? On what platform and filesystem?
> We are using Subversion 1.7.10 and the working copy is on NFS. Having it
> on the local filesystem makes it faster, but I thought that it could be
> even faster if it wouldn't traverse the whole tree.

A usual solution for this is to have a working copy locally, and a
post-commit hook that, in addition to the update, runs rsync to the slow
exported file system, with the required options to exclude .svn and
honouring mtime for detection of changes.

With kind regards,
Andreas Stieger
Received on 2013-07-04 20:15:52 CEST

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