Roman
Roman

Reputation: 351

Get info about svn root repository structure

I would like to know how to get information about svn root repository structure using svn api.

I have for instance following structure:

http:///
/project1
/project2

I tried :
svn list http:///svn also svn list -v http:///svn

As response I got only : ./

How can I get information recursively ?

Thank you in advance.

Upvotes: 1

Views: 7224

Answers (1)

Tomislav Nakic-Alfirevic
Tomislav Nakic-Alfirevic

Reputation: 10173

svn list Seems to work for me:

tomislav@malik:~$ svn list http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x
.gdbinit
ABOUT_APACHE
Apache.dsw
BuildAll.dsp
BuildBin.dsp
CHANGES
INSTALL
InstallBin.dsp
LAYOUT
LICENSE
Makefile.in
Makefile.win
NOTICE
NWGNUmakefile
README
README-win32.txt
README.platforms
ROADMAP
STATUS
VERSIONING
acinclude.m4
build/
buildconf
config.layout
configure.in
docs/
emacs-style
httpd.dsp
include/
libhttpd.dsp
modules/
os/
server/
srclib/
support/
test/
tomislav@malik:~$ 

The -R flag for recursive listing is also available (see svn help list).

Upvotes: 1

Related Questions