[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build perl (or sh) script to print simple summary of "cvs status" for e
Build perl (or sh) script to print simple summary of "cvs status" for each file
Mon, 16 Sep 2002 16:40:51 -0700
I'm trying to figure out how to write a script which will run "cvs status"
and print a single line for ach element, with just two fields, separated by
a colon, where the first field is the local path to the file name, and the
second field is the "status" of the element, like "modified", "needsupdate",
I've been able to write something which comes close, but I can't figure out
a robust algorithm for finding the local path to the filename. I can get
the base file name, but not the full (relative) path.
>From inspecting the "plain" output from "cvs status", I can see that the
"Repository revision" line gets me close, as it shows the full path to the
file on the server.
I also see that if I cat out the contents of "CVS/Repository", it appears to
tell me the location of this directory in the CVS tree, but still in the
context of the server.
Is there something prebuilt that does something like this, with reasonably
|[Prev in Thread]
||[Next in Thread]|
- Build perl (or sh) script to print simple summary of "cvs status" for each file,
Karr, David <=