Re: [viewvc-users] Prune empty directories

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4A708A73.2070305__24977.7404977523$1248889478$gmane$org@collab.net>
Pierre Cart-Grandjean wrote:
> Is there in ViewVC a similar option as the -P (Prune empty directories)
> option of cvs update? I would like ViewVC to hide empty directories for
> HEAD.

There is not.  The problem with such an option is performance -- ViewVC
would need to crawl every subdirectory, ensuring that either it has no files
in it or that the files in it are marked "dead".  That crawl is bounded only
by the potential size of the subdirectory tree.  That is, it's effectively
unbounded.  :-)

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2376670

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpwinMACgkQokEGqRcG/W6D9QCcDsfVNaNFs00axrLm5oq+H743
Ev8An3stqeJ562xd9uE/+HfLxPqmkGJ+
=rhEM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.