[Top][All Lists]

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

CVS diff generating unuseable patches ?

From: richard offer
Subject: CVS diff generating unuseable patches ?
Date: Wed, 18 Oct 2000 17:59:06 -0700

A naive question...

I'm trying to generate a large patch that includes new files, so I do

cvs -q diff -c -N -r PRE_AUDIT

The patch when applied to the vanilla source is okay for all the existing

But for the new files it starts creating files called /tmp/cvsxxxxx instead of
the files in the directory ?

ie looking at the diff.

Index: drivers/block/audit.c
RCS file: audit.c
diff -N audit.c
*** /dev/null   Tue Aug 29 14:22:17 2000
--- /tmp/cvsQt9R2X  Wed Oct 18 17:09:29 2000
*** 0 ****
--- 1,574 ----
+ /*
+  * $Id: audit.c,v 1.14 2000/10/03 20:42:09 offer Exp $

And when using patch

patching file `drivers/block/Makefile'
patching file `/tmp/cvsQt9R2X'

This behaviour doesn't seen useful to me, why would it create a file in /tmp,
when Index: tells it which file to create ?

For your imformation I'm using cvs 1.10 and patch 2.5

Any clues ?


Richard Offer          Widget FAQ -->
{X,Motif,Trust} on {Irix,Linux}

reply via email to

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