ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [PATCH] Documentation for junit junitreport
Date Thu, 14 Mar 2002 07:07:58 GMT
On Wed, 13 Mar 2002, Ylan Segal <> wrote:

> What is the Unified diff format? I use jCVS as my cvs client and
> used "show diffs" on the files. The output is what I sent. I read
> the link from the FAQ to
> and there it suggests using: cvs diff -u >> patchfile.txt

"Unified" diff is the "-u" on the command line, it creates a slightly
different, more compact and for some people more readable output.

The main difference is that you have a good chance that a unified diff
can be applied to a given file by patch even if that file is not of
the same version as the one the diff has been created against - the
output contains enough context so that patch can apply some heuristics
to adapt line numbers.

> I thought that the output would be the same in jCVS. (Guess not).

Never used jCVS, but I'd guess there is an option to add the -u


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message