On Thu, Oct 04, 2001 at 05:19:18PM -0500, kfogel@collab.net wrote:
> Kevin Pilch-Bisson <kevin@pilch-bisson.net> wrote nearly this:
> > add non-recursive switchable (becomes import??)
> > checkout recursive switchable
>
> I'm not sure how a non-recursive checkout would result in a useable
> working copy, but there may be a way. Maybe we should make "checkout
> -n" a low priority, though?...
>
Well it definitely wasn't going to be what I tackled first. :)
>
> > import recursive switchable (?)
>
> Well, do we really need a non-recursive import? Nah... :-)
I didn't think so either, but wanted to double check.
>
> Something like that. A simpler way to say it might be:
>
> When a command is run non-recursively, each dir argument received
> is treated like this: the command is run on all the files in the
> dir, but not on subdirectories. File arguments are treated
> normally, of course.
>
> No need to distinguish between `.' and other dirs, they're all just
> dirs.
> I think other subdirs under a named target <dir> should not be treated
> at all. If the user wanted them, she should name them, or do
> recursive.
>
> I realize there's a weird boundary case here, especially in the case
> of the property commands, in that an immediate subdir itself might or
> might not be presumed to fall within the scope of the command, and CVS
> doesn't give us any precedent of course, because it doesn't version
> directories. A simple and consistent solution is to say that
That would be too easy (CVS giving us a precedent)!
> non-recursive means "ignore all directories other than the ones
> actually specified to the command". Easy to implement, too. :-)
>
> How does that sound?
I like ! :)
It might take me a while, but I will plug away at it, probably starting with
update and the revert (as I think they would be the two most requested), then
properties, finally others.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:44 2006