[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 5 Jul 2013 13:53:24 +0300

David Schweikert wrote on Fri, Jul 05, 2013 at 08:00:54 +0200:
> On Thu, Jul 04, 2013 at 19:15:15 +0100, Andreas Stieger wrote:
> > > 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.
>
> That's finally exactly what I did to optimize the performance. Still,
> rsync needs to walk the NFS tree, so it probably could be faster with the
> knowledge of the changesets.

You could use 'svnlook tree' to construct an argument to rsync's
'--filter' or '--files-from'.
Received on 2013-07-05 12:54:11 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.