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: Paul Sander
Subject: Re: add hook question (was Re: Problem with importing third-party sources and adding/committing changes)
Date: Sat, 20 Nov 2004 02:24:41 -0800


On Nov 19, 2004, at 10:28 PM, address@hidden wrote:

-----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.


Cool!!  :-)





reply via email to

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