[cvsnt] Cannot add file on branch with CVSNT 2.5.04

Bo Berglund bo.berglund at telia.com
Wed Sep 5 06:23:52 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.

On Tue, 04 Sep 2007 18:57:57 +0200, Bo Berglund
<bo.berglund at telia.com> wrote:

>On Tue, 4 Sep 2007 13:35:24 +0200, Torsten Martinsen
><tma at gatehouse.dk> wrote:
>>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
>What happens if you go into the new dir and add the file from there?
>cd dir
>cvs add test.txt
>cvs commit -m "Adding file on branch"

Well, I went ahead and tested it myself.
Does not matter if one is inside the new dir when the add + commit is
done, it still gives the error:

Checking in Test.txt;
/Korvkiosk/ModuleYY/CommonFiles/AddedOnBranch/Test.txt,v  <--
new revision:; previous revision: 1.1
cvs server: Dropping data: pos>vec->text.nlines
cvs [server aborted]: invalid change text in

Too bad...


(Bo Berglund, developer in Sweden)

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