Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2011 19:51:14 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        freebsd-ports@FreeBSD.org
Subject:   (maintainer question) Possible bug in cvs: cvs diff -uN: -N switch being ignored (disappearing, actually)
Message-ID:  <20110830195114.56a8f255@cox.net>

next in thread | raw e-mail | index | archive | help
Odd little problem here I'm noticing with cvs.

When I do a "cvs diff -uN", for some reason the -N switch is being
ignored.  It vanishes completely in the header of the resulting
output.  I've been trying to rename one of my patch files to conform to
portlint's recommendations, but unless I can get -N to work properly,
this is a no-go.  Whether I add 'cvs diff -uN' to my .cvsrc, or
explicitly add it at the command line, makes no difference.

For instance:

[root@serene /usr/ports/net-p2p/lopster]# cvs diff -uN
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-p2p/lopster/Makefile,v
retrieving revision 1.44
diff -u -r1.44 Makefile
        ^
        |__ What happened to -N?

[snip remainder of diff output]

Incidentally, this problem started before I upgraded two days ago from
9.0-BETA1 to 9.0-BETA1, so it's not OS version-related.

Any idea what could be causing this and how to correct it?  Is this a
bug in cvs?  Should I send-pr it?

Thanks!

-- 
Conrad J. Sabatier
conrads@cox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110830195114.56a8f255>