[cvsnt] write to fileattr.xml error when commit a file

李巧霞 liqx at stelcom.com.cn
Mon Sep 14 10:50:34 BST 2009

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.


After I upgraded the CVSNT  2.5.05, the problem of the  fileattr.xml is
still there. And also I cannot get the 'assumed character 
set' for each type of client (CVSNT, non-CVSNT, etc). in the 'compatibility
options' tab.

Would you tell me, why Cvsnt 2.5.05 have to  write the filename that is
committed to the server to the fileattr.xml file? It seems it is not
necessary to do so. I try to set the fileattr.xml to be ready only , it
doesn't report the error any more. Do you think it is possible to stop
writing filename that is committed to the server to the fileattr.xml file?

Best regarts,


发件人: Arthur Barrett [mailto:arthur.barrett at march-hare.com] 
发送时间: 2009年9月11日 7:32
收件人: ???; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
主题: RE: [cvsnt] checkout with '-r tag ' option error


> I got a new problem ,please help:

Please read the FAQ:

The FAQ indicates that you should search the bug database.

The bug database already contains an explanation of this problem with a
known solution:

> I am in China, we use files with Chinese name. The client is 
> Wincvs2.0.24,
> after update to CVSNT 2.5.04, 

Have you upgraded the server or the client?  I think you are probably
still running the 2.0.51 client and using the 2.5.04 server.  

WinCVS is NOT A CLIENT.  CVSNT is the client and WinCVS runs it.
Upgrade your CVSNT client please.

> when I commit a file with 
> Chinese name, the
> server report "XML error at line 0: 
> xmlEncodeEntitiesReentrant : input not
> UTF-8", the fileattr.xml file will be deleted, then we cannot 
> do anything to this directory.

Upgrade the client and the server and the problem will go away, or
upgrade the server to 2.5.05 and set the options as described in bug

> I try to add ' encoding="UTF-8"' to the first line of 
> fileattr.xml , I can

NEVER EVER EVER EVER EVER modify your repository.  The repository is
like an Oracle database - noone would open oracle database files and
make changes using notepad - and you shouldn't with the CVSNT



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