I'm thinking of adding a new 'automate log' command.
It would have options for specifying what data to include in the
output, and output everything in basic_io.
The rationale for this is that the current Emacs DVC implementation of
"show log for this file" is incredibly slow.
Emacs DVC uses the existing automate functions to retrieve all the
information it needs for "show log for this file". That ends up being
a _lot_ of automate calls, and it scales with the size of the
database, since essentially every revision must be examined to see if
it changes the file. Even using automate stdio, it is far too slow to
be useful.
By comparision, 'mtn log <file>' is blazingly fast. So clearly
figuring out what revisions to output is better done in C++ in a
single mtn function, rather than in Emacs Lisp with lots of mtn
automate calls.
Parsing the output of 'mtn log <file>' is an option, but parsing the
output of 'mtn automate log' would be much prefered.
Comments?
--
-- Stephe
_______________________________________________
Monotone-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/monotone-devel