Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Wednesday September 29, 2004
11:48 PM

I shoulda had a V8

[ #21117 ]

From the "Why haven't I thought of this before" files

cvs update 2>&1 | perl -ne 's/^\?\s+// and print' | xargs cvs add

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • For most cvs modules I have (C with autoconf and automake temporary files, Perl with blib and pm_to_blib files, TeX with temporary files) that line is too risky, unless you create first a .cvsignore file.
    • Well, you should look at the cvs status first. I don't do it without knowing what it is going to do first: it just saves me a lot of typing or cutting-and-pasting. :)

      And why aren't you using .cvsignore? Hmmmm? Put files like blib and pm_to_blib in the global ignore file!
      • Global ignore file? Is there such a thing?
        • There are plenty of way to define the CVS ignores also globally.

          This variable is appended last to the ignore list during a command. The list is built up in this order: CVSROOT/cvsignore, the .cvsignore file in your home directory, the $CVSIGNORE variable, any -I command option, and finally the contents of .cvsignore files in the working copy used as CVS works in each directory. A ! as the ignore specification at any point nullifies the entire ignore list built up to that point.

          From: http://cvsbook.red-b [red-bean.com]