[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 2.5.04.2471 - 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
`mybranch'
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
done
Checking in dir/test.txt;
/rep/test/dir/test.txt,v  <--  test.txt
new revision: 1.1.2.1; previous revision: 1.1
done
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
text

	@d1 1
	a1 13

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

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