[cvsnt] How to commit without prompt after the command...

Torsten Martinsen torsten at tiscali.dk
Thu Sep 5 08:14:09 BST 2002


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.


Do

    cvs commit -m "No comment" test.txt

Note that CVS does not encourage using

    cvs commit -m "" test.txt

- in this case it will ask you if you really want to use an empty log message. It is highly encouraged that you actually DO enter a descriptive log message (that's what the first 'window' you refer to is for: it's an editor window).

-Torsten

----- Original Message ----- 
From: "Gustavo Tusi Braga" <gustavo.braga at portosys.com.br>
To: <cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook>
Sent: Thursday, September 05, 2002 2:39 AM
Subject: [cvsnt] How to commit without prompt after the command...



I am a new one on CVS.

Is possible to commit (to create a new file version) using a command
line without outputs and questions?

Example:

set
CVSROOT=:pserver:administrator:password at 192.168.0.115:C:/TEMP/CVSNTREP
cvs login
<<< OK >>>

I checked out one file "test.txt". I edited it and I want to create a
new release.

I executed
cvs commit test.txt

It opens a window. I needed to close it (1), and after it I need to
press Enter to confirm (2). 

Is possible to do it without these 2 steps?

Goal? cvs commit teste.txt and not open the window and not ask for
[enter] to confirm. 




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