monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: listing unknown directories


From: Bruce Stephens
Subject: [Monotone-devel] Re: listing unknown directories
Date: Mon, 27 Nov 2006 00:35:59 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Brian May <address@hidden> writes:

>>>>>> "Derek" == Derek Scherger <address@hidden> writes:
>
>     Derek> Does it make sense to anyone that 'mtn ls unknown' lists the entire
>     Derek> tree below an unknown directory?
>
> Seems to make sense IMHO.
>
>     Derek> I'm sure there are possible down-sides to this change. For example 
> it
>     Derek> changes the semantics of things like 'mtn ls unknown | mtn xargs 
> add'
>     Derek> and 'mtn add --unknown'. However, add recently became non-recursive
>     Derek> and I wonder if this makes more sense with that change anyway.
>
> As long as there is still as recursive version, I am happy.

I think the default ought to be the recursive one (as it seems to be
for other systems (those that I use, anyway)).  However, I've no idea
whether either option is better in any objective sense.

> Also for ls known and ls unknown, I would really like it if pathnames
> were relative to the current directory, not the base directory, ie:
>
> address@hidden:~/tree/config/include$ mtn ls known .
> include
> include/config.sh
> include/filter

Jonathan Shapiro argued against that, based on some experience with
OpenCM.  It annoys me, too, but I can see the arguments on both sides.
It doesn't seem at all clear that what monotone does now is wrong.

A possibly related change (to the "ls unknown" and "ls ignored"
behaviours) would be to ignore entirely subdirectories with a _MTN
directory.  I guess that would be uncontroversial?

[...]





reply via email to

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