[cvsnt] Cannot add file on branch with CVSNT 2.5.04

Torsten Martinsen tma at gatehouse.dk
Tue Sep 4 12:35:24 BST 2007

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.

I just discovered a major problem in - it is not possible to
add a file on a branch.

In a sandbox checked out on branch 'mybranch':

E:\temp\test>md dir

E:\temp\test>notepad dir\test.txt

[add a dozen lines of text to the file]

E:\temp\test>cvs add dir
? dir/test.txt
Directory /rep/test/dir added to the repository
--> Using per-directory sticky tag `mybranch'

E:\temp\test>cvs add dir\test.txt
cvs server: scheduling file `dir/test.txt' for addition on branch
cvs server: use 'cvs commit' to add this file permanently

E:\temp\test>cvs commit -m "Add on branch"
cvs commit: Examining .
cvs commit: Examining dir
cvs commit: Examining subdir
RCS file: /rep/test/dir/test.txt,v
Checking in dir/test.txt;
/rep/test/dir/test.txt,v  <--  test.txt
new revision:; previous revision: 1.1
cvs server: Dropping data: pos>vec->text.nlines
cvs [server aborted]: invalid change text in /rep/test/dir/test.txt,v

Looking in the repo, CVSNT produces an RCS file containing the change

	@d1 1
	a1 13

which is indeed invalid, as there is no line 1 in revision 1.1.

This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This information is intended solely for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use the message or any part thereof. If you have received this e-mail in error, please notify the sender immediately, and delete all copies of this message. In accordance with GateHouse Security Policy, e-mails sent or received may be monitored. 

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