|
From: | graydon hoare |
Subject: | [Monotone-devel] Re: monotone ls unknown |
Date: | Tue, 16 Dec 2003 13:26:58 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 |
Zack Weinberg wrote:
Agree that this should be the default behavior, but there should be a command line override. Otherwise the operation "list every file in this directory tree that isn't under version control, ignored or not" is too difficult. (Often "list" should be read "delete" - but that's what xargs rm -f is for.)
hm, yeah, well. something like that. the easiest way to get what you mean is to run "monotone --nostd --norc ls unknown", which effectively turns off ignore filtering by undefining the hook. or you could try "monotone ls ignored; monotone ls unknown" but that isn't *quite* what you want: you could in theory have a file in your working copy, under version control, which matches the ignore filter, so would be mentionned in that list (and deleted if you xargs rm'ed it!)
maybe "ls ignore" should only focus on files not in your manifest? assume the meaning of "ignore" means "hook doesn't like it *and* it's not mentionned in manifest". does that sound better?
-graydon
[Prev in Thread] | Current Thread | [Next in Thread] |