[Top][All Lists]

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

Re: cvs diff and added files

From: Derek R. Price
Subject: Re: cvs diff and added files
Date: Thu, 08 Feb 2001 12:35:27 -0500

Karl Fogel wrote:

> Hmmm.  If CVS produced a patch where the `diff', `---', and `+++'
> lines gave the path to the filename, would patch then behave the way
> you want?

Yes it would.  I'm not sure all three locations are necessary, but that's what 
been doing and that is what the example on my patch man page shows.

> But would this break patches in some other way?

Not that I know of, and I have been doing that for over a year now and sending 
the patches without hearing any complaints, but I'm not sure how often my 
have been used.  At least a few have been recently.  :)

> The question is, what is the standard diff format by which patch will
> correctly apply changes, and add new files, in subdirs?

I had thought Larry Wall & Paul Eggert's patch program was the standard, but I 
really know, and I know nothing about version numbers.

> I don't know the answer to that, but I presume there is one.

I'm looking into it, but if anyone knows, the additional info would be 

Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@openavenue.com     OpenAvenue ( http://OpenAvenue.com )
Nor was it uninteresting to the world that an experiment should be fairly and
fully made whether freedom of discussion, unaided by power, is not sufficient
for the propagation and protection of truth: whether a government conducting
itself in the true spirit of its constitution with zeal and purity and doing no
act which it would be unwilling the whole world should witness can be written
down by falsehood and defamation.  The experiment has been tried; [we] have
witnessed the scene; our fellow citizens have looked on, cool and collected.
They saw the latent source from which these outrages proceeded; they gathered
around their public functionaries, and when the Constitution called them to the
decision by suffrage, they pronounced their verdict, honorable to those who had
served them and consolatory to the friend of man who believes he may be
intrusted with his own affairs.

   - Thomas Jefferson; 2nd Inaugural Address, 1805

reply via email to

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