(Please don't top-post. Fixed top-posting.)
On 10/7/06, James Britt <jbritt@xxxxxxxxxxxx> wrote:
> Konrad Meyer wrote:
> > I've made an attempt at doing one of the easier documentation bits,
> > but I was wondering how I was supposed to make a diff. Is it enough to
> > diff the old file and new file, or do I need to cvs diff the whole
> > tree, or what?
>
> This page
>
> http://ruby-doc.org/documentation-guidelines.html
>
>
> should have the proper pointers on generating the diff.
>
> You need only diff the file being modified, using
>
> cvs diff -pu1 <filename1> <filename2>
>
On 10/7/06, Konrad Meyer <konrad.meyer@xxxxxxxxx> wrote:
Alright, thanks.
I do that, and get:
cvs diff: No CVSROOT specified! Please use the `-d' option
cvs [diff aborted]: or set the CVSROOT environment variable.
Any ideas?
Sure. You have no CVSROOT specified. You need to use the `-d' option.
;)
That is to say, you can make your diff using either the plain "diff"
program, or else using the "cvs diff" command. If you use the cvs diff
command, it means you're asking the cvs program to tell you the
difference between what's in the repository and what's in your local
sandbox. For cvs to find the repository, you either need to set the
CVSROOT evironment variable or else use the -d option to the cvs
command.
---John
|