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

Re: ideas to make svn update faster.

From: Thomas Zander <zander_at_kde.org>
Date: 2005-05-07 22:27:12 CEST

On Saturday 07 May 2005 20:51, Philip Martin wrote:
> TortoiseSVN uses non-recursive status on directories, with your scheme
> it might have to read multiple entries files, all the way back to the
> root, rather than just the entries file for the directory in question.
> That would be very unpopular with the TSVN crowd :)

If it doesn't update recursively; then you are almost sure to have different
versions in the individual dirs as is; this won't change if only changes to
the parent are recorded, like I proposed. So in practice only one dir up
will be read the first time; and a second time only the current one.
Or maybe I'm not following your 'non-recursive status' point above; in that
case please explain what you mean by that.

> What version of Subversion are you using? When I try "svn update" it
> only opens each format file once:
> $ svn up -r5 . > /dev/null
> $ strace -etrace=open svn up -r6 . 2>&1 | grep .svn/format
> open(".svn/format", O_RDONLY) = 3
> open("foo/.svn/format", O_RDONLY) = 3
> open("foo/bar/.svn/format", O_RDONLY) = 3

Cool; the most glaring problem has been fixed then :-) I'm using 1.1.4 (the
latest version on debian testing).


Thomas Zander

  • application/pgp-signature attachment: stored
Received on Sat May 7 22:28:29 2005

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.