info-cvs
[Top][All Lists]
Advanced

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

RE: CVS diff -n


From: Andy Baker
Subject: RE: CVS diff -n
Date: Wed, 26 Sep 2001 11:02:53 +0100

Maybe some variant of the cluggy and ugly...

        $ cvs up -Cp <file> >/tmp/$$<file> ; diff args <file> /tmp/$$<file>

?Andy

-----Original Message-----
From: Matthew Versluys [mailto:address@hidden
Sent: 26 September 2001 07:17

When comparing the working version of a file against a version in the
repository and the RCS style diff flag (-n) is specified, the output of the
command is information which would allow you to convert the file in the
repository to the working file.  Is there any way to make this do the
reverse, that is, produce the differences that need to be applied to the
working version to get the version in the repository?



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





reply via email to

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