bug-cvs
[Top][All Lists]
Advanced

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

Re: cvs does not support adding files locally (to allow a diff et c


From: Derek Robert Price
Subject: Re: cvs does not support adding files locally (to allow a diff et c
Date: Tue, 20 Jul 2004 16:23:54 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim.Hyslop wrote:

>2) cvs does *not* use the -N option.
>
>Since cvs is not diff, and cvs does not use the -N option, why
document it?
>By documenting the option, users are misled into believing that the
option
>actually does something useful.


That's not true.  The difference is that if you have a file that
exists on one end of your diff and not the other, e.g. `cvs diff
- -rBRANCH -rHEAD' where a file exists on HEAD and not BRANCH or visa
versa, CVS will output a diff for the file with -N specified but not
without it.

If you `cvs add' the file in question (you don't even need to commit
it), then CVS will add it to a local diff with -N, e.g.`cvs diff -uN
- -rBASE'.

Cheers,

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFA/X9ZLD1OTBfyMaQRArgvAJ98Y1KiiEYQPKWb7tkxOTrM72iCHACg8Aw5
LMvhM7QAUxASLD4IEkRzG7w=
=jmDO
-----END PGP SIGNATURE-----





reply via email to

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