Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: Question about cvs
Home

[Freeciv-Dev] Re: Question about cvs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: molv@xxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Question about cvs
From: Jason Short <jshort@xxxxxxxxxxxxxx>
Date: Fri, 25 Jul 2003 04:38:53 -0400
Reply-to: jdorje@xxxxxxxxxxxxxxxxxxxxx

Lobo Gris wrote:
Does Somebody know which option must I give to "cvs diff" in order to include the .c and 
.h files that I created but aren't on the cvs repository? I tested with "cvs diff -Nu" 
but doesn't work (the -N should do that)

"cvs diff" cannot do this.  You have several options:

- Use 'diff' instead of cvs diff. Here you have to have two separate repositories - one original and one new. Use something like "diff -Xfreeciv/diff_ignore freeciv-old freeciv".

- Package the extra .[ch] files separately. This is what I usually do - just make a diff of the existing files and include the new files as extra attachments. It is faster but takes more work for the user of your patch.

- Use another tool like mkdiff.  Dunno much about this choice.

jason



[Prev in Thread] Current Thread [Next in Thread]