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

Re: svn list -R of medium-size repository takes 10 hours.

From: Carsten Koch <Carsten.Koch_at_icem.com>
Date: 2005-08-19 17:27:26 CEST

Ben Collins-Sussman wrote:
...
>> It would certainly be a tremendous gain for people who are trying to
>> do an svn ls -R over a low-bandwidth connection.
>
>
> No argument. On the other hand, not many people run 'svn ls -R'.

Let me tell you the problem I am trying to solve.
Maybe there is a better approach without using "svn ls -R",
which we now agree is broken. ;-)

We work on plugins for a large vendor's CAD product.
The code structure given by the vendor consists of a tree
that we need entirely for a full build, but to work on
a small module it is sufficient to check out just a few
branches of the source tree, which must, however, start
at the root to allow builds of the module.
So I have created python scripts that use "svn checkout -N"
to get the root directory and "svn update -N" to get
directories under it as required.
As a convenience, the latter script only requires a partial
file name as a parameter. It does a "svn list -R" on the
root directory, a substring match on all results and
"svn update -N" on all directories between the root and
the matching entries.

If there were something like "svn find", I would not have
to transfer the entire list from the server to find the
matching entries...

Carsten.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 19 17:32:07 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.