On Friday, November 4, 2005 at 16:58:24, Matthieu Moy wrote: > Hi, > > There have been a lot of discussion on this list about the output > format of "bzr status", whether it's good or not... > > I should be able to implement a bzr-status into DVC rather soon, and > I'd like to know how much I can rely on the output format. (I gave > up with pymacs, not being able to do asynchronous calls is a > blocking problem, and up to now, I didn't have problem with the > command-line interface). > > Implementing a parser for this format in Emacs-lisp is not a > problem.
We might also consider to write a bzr plugin providing the output in an emacs readable format, i.e. a list: ((modified ("FILE1" "FILE2" ...) (renamed ...) ...)) Essentially this would not require parsing anymore and we do not rely on the output format and this way we are even able to combine bzr commands and speed up the whole thing ... Robert.