(maintainer question) Possible bug in cvs: cvs diff -uN: -N switch being ignored (disappearing, actually)

Chris Rees utisoft at gmail.com
Wed Aug 31 08:17:53 UTC 2011

On 31 Aug 2011 01:51, "Conrad J. Sabatier" <conrads at cox.net> wrote:
> 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 at 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?

Did you remember to cvs add / rm the files you're adding/removing? Do you
know what -N does?


More information about the freebsd-ports mailing list