in reply to cvs_stat
I'm not sure about your cvs ... but it doesn't quite work here. Here's a patch:
Here, cvs stat says "cvs status: Examining", not "cvs server: Examining".--- cvs_stat.old 2005-01-22 14:58:27.000000000 -0700 +++ cvs_stat 2005-01-22 15:03:21.000000000 -0700 @@ -23,7 +23,7 @@ printf( '%27s: %s'."\n", '?', $1); next; } - if (/^cvs server: Examining (.*)$/) { + if (/^cvs (?:server|status): Examining (.*)$/) { $dir = $1; } if (/^File: (.*[^ ])\s+Status: (.*)$/) {
Next steps in cleaning this up are: eliminating the annoying "./" prefix for files in the current directory (debatable - maybe that's just me), and adding the dir prefix for the unknown files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cvs_stat
by aufflick (Deacon) on Jan 24, 2005 at 04:02 UTC | |
by Tanktalus (Canon) on Jan 24, 2005 at 04:46 UTC |