[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] automate log
From: |
Stephen Leake |
Subject: |
[Monotone-devel] automate log |
Date: |
Sat, 03 Jul 2010 12:46:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) |
In branch nvm.stephe, I've added a command 'mtn automate log'. It
produces the same list of revisions as 'mtn log', but the only output is
the revision ids, on stdout and the stdio 'm' channel.
It takes a subset of the 'log' options; all options that control output
are gone; those that determine what revisions to show remain.
The front-end running 'mtn autotmate' can retrieve information about
each revision as needed. This simplifies several things in Emacs DVC.
See tests/automate_log/__driver__.lua for examples.
This could be seen as an alternative to 'mtn automate select'. One
essential difference is that 'automate log' accepts a path restriction,
which 'automate select' does not. The other 'log' options, particularly
--last and --next, are also useful.
Ok to merge to main?
--
-- Stephe
- [Monotone-devel] automate log,
Stephen Leake <=