subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Ellis <>
Subject svn list support for listing directory entries only
Date Sun, 04 May 2014 01:13:13 GMT

The svn command line list command currently accepts --depth arguments of
files, infinity, and immediates (and empty, but that is really a no-op).
 I'm in need of being able to list directory entries only in a repository,
but I'm not sure there is any good way to accomplish that as-is.  I've
search the lists and can only find articles about how folks have grep'ed
the output or hacked list.c to only return directory entries (which is
really just an inelegant grep anyways since the server still will be
sending the data).

Is there a way, or consideration from the developers to add a feature, to
fetch only directory entries from a repo?  Perhaps a --depth dirs (opposite
of --depth files) option.  If there is no off the shelf way and/or the
developers are against (or don't see enough need) to implement this, would
there be any advise on how to accomplish this with a patch?  Is there in
inherent limitation to the server protocol that makes a request like this
simply unworkable?

Thanks in advance,

View raw message