|
From: | Derek Scherger |
Subject: | [Monotone-devel] checkout, setup and MT/options |
Date: | Thu, 17 Feb 2005 21:09:25 -0700 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041231) |
http://lists.gnu.org/archive/html/monotone-devel/2005-01/msg00164.htmlthe checkout and setup commands now *do* search for a working copy and will read default options from MT/options if found.
checkout with a specific revision id will fail (intentionally) if that revision is not a member of the branch found in MT/options or specified on the command line.
also, all commands now accept a --root=dir option that can be used to stop the search for a working directory at the specified directory rather than searching all the way to the root of the filesystem. (similar to the -l/--local idea Peter had suggested).
I'm not entirely sure this new option is (a) useful or (b) correct though and it's a bit of an experiment. there may be some cases where it does what you want, but it doesn't, for example, prevent
$ monotone --root=. setup foofrom finding the MT dir in ./MT which means that foo will still get options unless setup is run from a subdirectory of the working copy. perhaps something like --nosearch would be better to completely disable the search rather than try to limit it.
Cheers, Derek
[Prev in Thread] | Current Thread | [Next in Thread] |