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