help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using pcl-cvs programmatically for getting cvs-state for a list of files


From: Klaus Berndl
Subject: Using pcl-cvs programmatically for getting cvs-state for a list of files
Date: 09 Sep 2004 15:36:59 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Is is possible to using the code of pcl-cvs (pcs.el) for getting the current
state for a list of files? Normally `cvs-examine' prints all its output into a
cvs-buffer which is shown or not (if argument noshow is t). Bat even with
noshow this is not what i want because i need the states of files not in form
of a human-readable buffer but in form of a list like

((file-1 . state-1) (file-2 . state-2) ... (file-n . state-n))

Of course i could parse myself the cvs-buffer prepared by cvs-examine but why
to do this when the needed information is already somewhere deep in pcl-cvs...
at least i suppose that pcl-cvs internally has the information-structure (or
at least something similar) so it can fill up a human-readable buffer....

Any pointer which internal function/code of pcl-cvs i could use (maybe with
some modifications...) to reach my goal?

Thanks a lot in advance!
Klaus

-- 
Klaus Berndl                    mailto: klaus.berndl@sdm.de
sd&m AG                         http://www.sdm.de
software design & management    
Carl-Wery-Str. 42, 81739 Muenchen, Germany
Tel +49 89 63812-392, Fax -220

reply via email to

[Prev in Thread] Current Thread [Next in Thread]