incava.org

Usage

Summarizing

This summarizes your changes:

% cvsdelta

You may specify directories, as well:

% cvsdelta util doc

Executing

This adds and removes the pertinent files:

% cvsdelta --execute

As with the summarizing example, you may also specify directories with executing:

% cvsdelta -e util doc

Documentation

The man page, as HTML, may be viewed here.

Examples

The following is an example of a minimal session with cvsdelta, showing the summarizing and the execution functionality.

summary of changes

~/bin% cvsdelta         
    -
    total    added    changed  deleted  file
    =======  =======  =======  =======  ====================
         82       82        0        0  + amort
          9        5        4        0  * burnrpm
         13        1       12        0  * cardiff
          8        0        8        0  * cr
         99       99        0        0  + drjruby
        105       44       54        7  * dspeptic
          7        1        6        0  * hierfind.rb
        116      116        0        0  + maze
         11       11        0        0  + mk
         31       10       21        0  * mkfix
         74       11       36       27  * sfstats
          1        0        1        0  * sigrand
        377      377        0        0  + synx
    -------  -------  -------  -------  --------------------
        933      757      142       34  Total

execution of changes

~/bin% cvsdelta --execute
    -
    total    added    changed  deleted  file
    =======  =======  =======  =======  ====================
         82       82        0        0  + amort
          9        5        4        0  * burnrpm
         13        1       12        0  * cardiff
          8        0        8        0  * cr
         99       99        0        0  + drjruby
        105       44       54        7  * dspeptic
          7        1        6        0  * hierfind.rb
        116      116        0        0  + maze
         11       11        0        0  + mk
         31       10       21        0  * mkfix
         74       11       36       27  * sfstats
          1        0        1        0  * sigrand
        377      377        0        0  + synx
    -------  -------  -------  -------  --------------------
        933      757      142       34  Total
    
    EXECUTING COMMANDS
    
        ADDs
            cvs add "drjruby" "maze" "amort" "mk" "synx"
    cvs add: use 'cvs commit' to add these files permanently
    
        DELETEs
    ~/bin% cvs commit -m "Comment here."                         
    RCS file: /home/cvs/bin/amort,v
    done
    Checking in amort;
    /home/cvs/bin/amort,v  <--  amort
    initial revision: 1.1
    done
    ... more CVS output ...

Valid HTML 4.01!

Valid CSS!