[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Machine-readable output
From: |
David Evans |
Subject: |
Machine-readable output |
Date: |
Mon, 14 May 2001 10:40:25 +0100 |
Hi all. Bug-cvs newbie here...
I've been trying to put together some scripts to run cvs commands, parse the
output, and produce various kinds of reports. With "cvs status" I found this
wasn't too hard, but I found the output of "cvs history" was particularly hard
for a script to parse (well not disastrously so, but it's not especially
machine-friendly).
I put together a patch (attached) which adds a -M (machine-readable) switch to
"cvs history". (I realise now that, if this is going to go anywhere, in fact it
would probably be better added as a global option to src/main.c). This is more
a proof-of-concept patch than a real quality job :-)
Anyway, comments please. Is this likely to be useful to anyone? Is this a
sensible output format? (it's simple, if nothing else). Is there some sensible
existing alternative to all this which I'm missing?
Dave Evans
Power Internet
history.c.diff
Description: Binary data
- Machine-readable output,
David Evans <=