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 I've
been doing and that is what the example on
"Derek R. Price" <[EMAIL PROTECTED]> writes:
> According to my patch man page, it appears CVS is relying on some POSIX
> behavior which tells patch to read the filename on the 'Index:' line and not
> the later 'diff', '---', and '+++' lines. Unfortunately, my implementation
> of patch appears to
Ian Lance Taylor wrote:
> "Derek R. Price" <[EMAIL PROTECTED]> writes:
>
> > According to my patch man page, it appears CVS is relying on some POSIX
> > behavior which tells patch to read the filename on the 'Index:' line and not
> > the later 'diff', '---', and '+++' lines. Unfortunately, my im
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? But would this break patches in some other way?
The question is, what is the standard diff format by which patch will
correctly apply changes, and add
Karl Fogel wrote:
> "Derek R. Price" <[EMAIL PROTECTED]> writes:
> > Is there a good reason that 'cvs diff' (with at least unified format) of
> > a repository containing added files creates a file that when run through
> > patch creates the new files at the top level regardless of their
> > origi
"Derek R. Price" <[EMAIL PROTECTED]> writes:
> Is there a good reason that 'cvs diff' (with at least unified format) of
> a repository containing added files creates a file that when run through
> patch creates the new files at the top level regardless of their
> original location?
I think maybe
Is there a good reason that 'cvs diff' (with at least unified format) of
a repository containing added files creates a file that when run through
patch creates the new files at the top level regardless of their
original location?
Derek
--
Derek Price CVS Solutions Architect