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

svn list -R with directories only

From: Lee Ann Fisk <lafisk_at_sandia.gov>
Date: 2007-01-05 21:10:30 CET

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
Received on Fri Jan 5 21:18:09 2007

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