So presumably the second one should really be: % svn ls -R >f % time xargs svn info <f
Philip Martin wrote on Thu, Sep 01, 2011 at 17:31:19 +0100: > Bert Huijben <b...@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