[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 with directories only

From: Ed Price <ed.price_at_gmail.com>
Date: 2007-01-06 02:50:53 CET

I answered a similar question on svn-users recently.

svn ls -R $URL | grep '/$'

http://svn.haxx.se/users/archive-2006-10/0946.shtml

If you want to do it more *efficiently*, sorry, no idea :)
(But based on the description of your change, it sounds
like that wasn't actually the issue, as you changed
the client not the server, IIUC?)

-Ed

On 1/5/07, Lee Ann Fisk <lafisk@sandia.gov> wrote:
> Hello. I wanted to list all the directories in a
> new svn repository I am working with. It has a huge
> number of files. I could find no way to list the
> directories only. I found a similar question on
> users@ from several months ago that did not have
> a reply. I searched your issues and did not find
> it listed.
>
> I was able to recompile svn 1.4.2 with a one line change
> in subversion/libsvn_client/list.c in get_dir_contents() so
> that "svn list -R URL" would omit non-directories. Looking
> through this listing I am only now beginning to understand
> the repository I am trying to work with. (By
> the way - thank you having such well organized easy
> to read code - that is what made it easy to change.)
>
> It would be great to have a --directoriesOnly type
> of option to "svn list".
>
> Lee Ann Riesen
>
>
> --
> ====================================================
> Lee Ann Riesen, Sandia National Laboratories, NM, USA
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 6 02:51:02 2007

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