public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Producing CVS diffs
@ 1998-03-19  9:48 Martin von Loewis
  1998-03-21 13:50 ` Andi Kleen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Martin von Loewis @ 1998-03-19  9:48 UTC (permalink / raw)
  To: egcs

How can I produce diffs against the CVS tree that work well with patch?
When I do 'cvs -z9 diff -u' in the gcc directory, I get headers that
look like

Index: cp/tree.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/tree.c,v
retrieving revision 1.25
diff -u -p -r1.25 tree.c
--- tree.c	1998/03/12 00:29:16	1.25
+++ tree.c	1998/03/17 20:57:57

Now, when applying those in the gcc directory with patch 2.5,
patch thinks this is against tree.c, not cp/tree.c, and fails.
How can I get it to accept this patch, or how can I produce a
patch that it will accept?

Martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-03-23 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-19  9:48 Producing CVS diffs Martin von Loewis
1998-03-21 13:50 ` Andi Kleen
1998-03-21 13:50 ` Raja R Harinath
1998-03-21 13:50 ` Alexandre Oliva
1998-03-23 16:39   ` Martin von Loewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).