[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.


Arthur, 

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,

Wendy


-----邮件原件-----
发件人: 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

Wendy,

> I got a new problem ,please help:

Please read the FAQ:
http://march-hare.com/cvspro/faq/faq2.asp#2z

The FAQ indicates that you should search the bug database.

The bug database already contains an explanation of this problem with a
known solution:
http://customer.march-hare.com/webtools/bugzilla/ttshow_bug.cgi?tt=1&id=
5555

> 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
5555.

> 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
repository.

Regards,


Arthur





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