NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tooling around with the kernel source, had a question about cvs

On Nov 19, 2008, at 1:47 PM, Michael Litchard wrote:
What is the cvs command to take a diff of any given change and the original source?

"cvs diff", oddly enough.  :-)  It even has help available:

% cvs --help diff
Usage: cvs diff [-lR] [-k kopt] [format_options]
    [[-r rev1 | -D date1] [-r rev2 | -D date2]] [files...]
        -l      Local directory only, not recursive
        -R      Process directories recursively.
        -k kopt Specify keyword expansion mode.
        -D d1   Diff revision for date against working file.
        -D d2   Diff rev1/date1 against date2.
        -r rev1 Diff revision for rev1 against working file.
        -r rev2 Diff rev1/date1 against rev2.
[ ... ]


Home | Main Index | Thread Index | Old Index