[cvsnt] Re: cvs - '-n' parameter

Aaron Kynaston akynaston at novell.com
Tue May 24 18:47:09 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


yea, -n update is all I really use - and sometimes with -r on the update.

What do you mean 'breaks it?'  Don't you mean it simply doesn't do ANYTHING?  And isn't that just what I want to have happen?

>>> Tony Hoyle <tmh at nodomain.org> 5/24/2005 11:35 AM >>>
Aaron Kynaston wrote:
> The cvs client help reports that -n does the following:
> 
> 
>     -n              Do not execute anything that will change the disk.
> 
> 
> I'm assuming that means do not execute anything that will change NEITHER disk - neither the repository, nor the local sandbox.
> 
> Is this correct?

It commonly refers to the sandbox only - things like history may get 
written anyway.

In theory, but in practice there are few commands where -n actually does 
anything approaching sensible.  -n update and -n checkout are the 
commonly used ones.. I'm not sure I'd be prepared to definately state 
that others actually work (-n update only works if there are no joins 
etc. as merging branches requires file modifiction to make any sense, 
and switching it off just breaks it.  Not sure if that's fixable in any 
way.).

Tony

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook 
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook