[cvsnt] Problem branching, then error on commit in CVSNT

Arthur Barrett arthur.barrett at march-hare.com
Mon May 5 00:54:46 BST 2008

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.


> files from my
> CVSNT repository.

I can checkout these all OK:

$ cvs -d :sspi:localhost:/i-repo co -r RELEASE_5-01-2008 -d RELEASE_5-0
1-2008 appr
cvs server: Updating RELEASE_5-01-2008
U RELEASE_5-01-2008/productions-Notes.aspx
U RELEASE_5-01-2008/productions-Notes.aspx.vb
U RELEASE_5-01-2008/stock.aspx
U RELEASE_5-01-2008/stock.aspx.vb
cvs server: Updating RELEASE_5-01-2008/app8

$ cd RELEASE_5-01-2008

$ dir
 Volume in drive I is I
 Volume Serial Number is 345B-0AF3

 Directory of I:\test\RELEASE_5-01-2008

05/05/2008  09:43    <DIR>          .
05/05/2008  09:43    <DIR>          ..
26/04/2008  04:46            13,009 productions-Notes.aspx
28/04/2008  12:56            45,755 productions-Notes.aspx.vb
01/05/2008  03:38             5,635 stock.aspx
01/05/2008  03:38             5,733 stock.aspx.vb
               4 File(s)         70,132 bytes
               2 Dir(s)   4,425,285,632 bytes free

I can also modify each one and commit a change back to the branch:
$ cvs ci -m "test commit"
cvs commit: Examining .
Checking in productions-Notes.aspx;
/i-repo/appr/productions-Notes.aspx,v  <--  productions-Notes.aspx
new revision:; previous revision: 1.5
Checking in productions-Notes.aspx.vb;
/i-repo/appr/productions-Notes.aspx.vb,v  <--  productions-Notes.aspx.vb
new revision:; previous revision: 1.7
Checking in stock.aspx;
/i-repo/appr/stock.aspx,v  <--  stock.aspx
new revision:; previous revision: 1.1
Checking in stock.aspx.vb;
/i-repo/appr/stock.aspx.vb,v  <--  stock.aspx.vb
new revision:; previous revision: 1.1

> Arthur also asked for my connection string. Here it is: 
> :pserver:Andy at NEW-P4:c:/CVSROOT/customerwebsite

I think that as Bo pointed out that this may be a part (if not all) of
the problem.  

CVSROOT is not a valid repository name, and repository names beginning
with c:/ are laregely unsupported and can cause all sorts of problems.
Your physical repository should looks something like:

C:/myrepo/CVSROOT (administrative directory)

In the CVSNT control panel you alias c:/myrepo to /myrepo, so your final
CVSNT connection string is:

 :pserver:Andy at NEW-P4:/myrepo

And your checkout command is:

cvs -d :pserver:Andy at NEW-P4:/myrepo co customerwebsite

I think I recall from your earlier comments that you are using WinCVS as
a GUI.  I strongly recommend  you install the cvs-suite-trial from the
2.5.04 download page and use the combination of TortoiseCVS and CVS
Suite Studio/Workspace Manager included in that.  You are far less
likely to get the wrong result using those tools.  WinCVS is an
excellent tool - but I would not recommend it to a novice.


Arthur Barrett

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