bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating and removing and creating and removing....


From: Larry Jones
Subject: Re: creating and removing and creating and removing....
Date: Mon, 2 Jul 2001 14:51:41 -0400 (EDT)

Perry E. Metzger writes:
> 
> How hard would it be to make -d only create directories that need
> creating while the tree is being walked (and not ones that will end up
> empty) and have -P remove directories as the tree is being walked so
> it doesn't have to walk the tree yet again?

Very.  There really isn't any way to know in advance whether the
directory is going to end up empty or not, so you'd either have to
duplicate most of the work of checkout without really creating anything,
or you'd have to arrange to defer all of the directory creation until
the first file.

-Larry Jones

He piqued my curiosity. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]