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

Re: Really lousy performance with svn info --depth infinity

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 01 Sep 2011 17:31:19 +0100

Bert Huijben <bert_at_qqmail.nl> writes:

> No, svn ls doesn't. It just obtains the URL and revision and then
> queries the repository.

The output of "svn ls" is fed to "svn info"

This is one recursive call:

>> svn info -depth infinity

This is multiple non-recursive calls:

>> svn ls -depth infinity | xargs svn info

xargs will batch up the arguments, so we get a number of

  svn info path1 path2 .... pathN
  svn info pathN+1 path2 .... pathM
  svn info pathM+1 path2 .... pathR

calls, and they are somehow faster than the single recursive call.

-- 
Philip
Received on 2011-09-01 18:32:16 CEST

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