info-cvs
[Top][All Lists]
Advanced

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

Re: add hook question (was Re: Problem with importing third-party source


From: Derek Robert Price
Subject: Re: add hook question (was Re: Problem with importing third-party sources and adding/committing changes)
Date: Sat, 20 Nov 2004 01:28:54 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

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

Paul Sander wrote:

>>> This is why I hate the -n option of the
>>> checkout/commit/tag/update commands and advocate its removal
>>> from CVS.
>>
>>
>> What in the world are you talking about???  -n prevents changes
>> from being made anywhere!  On the server or in the workspace!
>> Why in the world would you care if the user can run a command
>> which does nothing except tell the user what it would do if they
>> actually ran it without - -n?!?!?!?!?!?!?!?!??!?!?!??!?!?!?!??!?!
>>
>
>
> Kindly double-check the manual and the code.  There's this:
>
> cvs -n commit ...
>
> and there's this:
>
> cvs commit -n ...
>
> There's a difference.  The former means "don't change disk".  The
> latter means "don't fire *info triggers".  I believe that the
> latter should be removed, but that's just me.


The latter *were* removed, over a year and a half ago, prior to the
CVS 1.11.7 and 1.12.1 releases.  References to the command option `-n'
were removed from both the source and the manuals, for exactly the
reasons you suggest they should have been.  I did the work myself.
There should be some emails discussing it in the archives, if you are
interested.

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

iD8DBQFBnuQlLD1OTBfyMaQRAgvZAJ9o05rbhpQbmNEVAcGiODOPGhnklwCfdo5B
oAbEIW2J9gNu27JY35AwAn8=
=hxSM
-----END PGP SIGNATURE-----





reply via email to

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