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

svn list support for listing directory entries only

From: Dan Ellis <danellis10_at_gmail.com>
Date: Sat, 3 May 2014 18:13:13 -0700

Hi,

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,
Dan
Received on 2014-05-04 03:13:46 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.