[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] mtn automate evolution, part 2: workspace query
From: |
Christof Petig |
Subject: |
Re: [Monotone-devel] mtn automate evolution, part 2: workspace query |
Date: |
Tue, 19 Dec 2006 14:46:20 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061115) |
Thomas Keller schrieb:
> Christof Petig schrieb:
>> What about
>>
>> $ mtn automate get_workspace
>> database "/usr/local/lib/monotone.db"
>> branch "net.venge.monotone.cvssync.refactor"
>> keydir "/home/christof/.monotone/keys"
>> key "address@hidden"
>> workspace "/home/christof/projects/monotone"
>
> mtn automate get_option already reads individual entries out of
> _MTN/options, though one could argue if your version is more practical
> than get_option since one probably reads more than just one option at a
> time anyways.
> On the other hand, get_option could be nicely symmetric to a not yet
> existing set_option to override workspace defaults. Opinions?
... It would have been a good idea to browse the source instead of the
documentation :-(
Of course get_option fulfills my needs, I will go that road unless I
need get_workspace.
Christof
signature.asc
Description: OpenPGP digital signature