[cvsnt] binary files, and locks

Jean-Pierre Sevigny Jean at psychtests.com
Thu Jun 10 22:24:09 BST 2004


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.


Hi, 
I’m trying to set automatic file type setting for some extensions (binary
for .pdf, .doc, etc).

My cvsnt version is 2.0.41a, running on Windows 2000.

The content of my cvswrappers is:
*.gif -k 'b'
*.jpg -k 'b'
*.png -k 'b'
*.ico -k 'b'
*.mov -k 'b'
*.swf -k 'b'
*.so  -k 'b'
*.dll -k 'b'
*.pyd -k 'b'
*.pyc -k 'b'
*.pys -k 'b'
*.psd -k 'b'
*.exe -k 'b'
*.fs  -k 'b'
*.zexp -k 'b'
*.ps  -k 'b'
*.eps -k 'b'
*.tgz -k 'b'
*.gz  -k 'b'
*.zip -k 'b'
*.pdf -k 'b'
*.doc -k 'b'
===============
My files are not getting set to binary, whenever I import them (it works
with cvs admin, but I don’t want having to do that for every file added).

I also have a problem with locks (might be related): It works fine for all
files, expect when I commit the file(s) in CVSROOT (any of them), I get:
================
$ cvs ci -m "" config
Checking in config;
/repo/CVSROOT/config,v  <--  config
new revision: 1.15; previous revision: 1.14
done
cvs server: Rebuilding administrative file database
cvs [server aborted]: Failed to obtain lock on  C:/repo/CVSROOT/modules,v:
001 FAIL Lock not within repository

===============

The lock server is running fine, on port 2402 (the port is listening). The
config file has the line
LockServer=localhost:2402
(I also tried putting the server’s IP, without success either). 

I also tried having LockDir=C:/repo_locks, and that doesn’t work either. 

I’m thinking that somehow, maybe the “administrative file database” isnt
getting updated because of the locks? (although the content of the files is
getting updated).

Any help appreciated,
Jean-Pierre Sevigny




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