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

Tony Hoyle tmh at nodomain.org
Tue May 24 18:35:21 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.


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




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