Re: [Monotone-devel] [PATCH] mtn automate set_option

2006-12-23 Thread Nathaniel J. Smith
On Fri, Dec 22, 2006 at 07:49:47PM -0500, Ben Walton wrote: > Yah, I'm new, but I may be missing the point a little still. When > thinking in the context of wrapping mtn in a gui (the whole point of > the automate commands), isn't it desirable to have a programmatic > interface to things like the

Re: [Monotone-devel] [PATCH] mtn automate set_option

2006-12-23 Thread Nathaniel J. Smith
On Fri, Dec 22, 2006 at 11:45:39PM -0600, Chad Walstrom wrote: > I would have to agree on this one. Isn't the goal to separate the UI > completely, being able to run monotone completely from within such an > interface? If so, being able to get and set options seems pretty > fundamental. Well, th

Re: [Monotone-devel] [PATCH] mtn automate set_option

2006-12-22 Thread Chad Walstrom
"Ben Walton" <[EMAIL PROTECTED]> wrote: > Yah, I'm new, but I may be missing the point a little still. When > thinking in the context of wrapping mtn in a gui (the whole point of > the automate commands), isn't it desirable to have a programmatic > interface to things like the options file? I wo

Re: [Monotone-devel] [PATCH] mtn automate set_option

2006-12-22 Thread Nathaniel J. Smith
On Sat, Dec 23, 2006 at 01:22:21AM +0100, Thomas Keller wrote: > Don't get me wrong, but how is he supposed to know that? Well, because I just told him :-). Maybe he will find the information useful, maybe not. I guess there are a few possible outcomes. Maybe neither Ben nor anyone else actuall

Re: [Monotone-devel] [PATCH] mtn automate set_option

2006-12-22 Thread Ben Walton
Yah, I'm new, but I may be missing the point a little still. When thinking in the context of wrapping mtn in a gui (the whole point of the automate commands), isn't it desirable to have a programmatic interface to things like the options file? It's not a mainstream, everyday feature by any means

Re: [Monotone-devel] [PATCH] mtn automate set_option

2006-12-22 Thread Thomas Keller
Nathaniel J. Smith schrieb: On Thu, Dec 21, 2006 at 03:04:22PM -0500, Ben Walton wrote: I cooked this up today as a corollary to get_option. I hope it's useful. So, umm... before investing time in reviewing the patch, rewriting internal interfaces, answering future support questions, etc... _

Re: [Monotone-devel] [PATCH] mtn automate set_option

2006-12-22 Thread Nathaniel J. Smith
On Thu, Dec 21, 2006 at 03:04:22PM -0500, Ben Walton wrote: > I cooked this up today as a corollary to get_option. I hope it's useful. So, umm... before investing time in reviewing the patch, rewriting internal interfaces, answering future support questions, etc... _do_ you have any ideas where i

[Monotone-devel] [PATCH] mtn automate set_option

2006-12-21 Thread Ben Walton
Hi All, I cooked this up today as a corollary to get_option. I hope it's useful. There is one thing that I didn't do that I wanted to inquire about. Currently, there is no way to clear an old option using set_ws_options, as a new empty string prompts the function to use the old value if there w