CVS同步异常(Please fix or delete this file)

今天同步老是报错,错误信息如下:
Problems reported while synchronizing CVS Workspace. 0 of 1 resources were synchronized.
  An error occurred synchronizing /dwz: The server reported an error while performing the "cvs update" command.
    The server reported an error while performing the "cvs update" command.
      dwz: XML error at line 1: Document is empty
      dwz:
      dwz: XML error at line 1: Start tag expected, '<' not found
      dwz:
      dwz: XML error at line 1: Document is empty
      dwz:
      dwz: XML error at line 1: Start tag expected, '<' not found
      dwz:
      dwz: XML error at line 1: Document is empty
      dwz:
      dwz: XML error at line 1: Start tag expected, '<' not found
      dwz:
      dwz: cvs [server aborted]: Malformed fileattr.xml file in /cvsitem/dwz/WebRoot/people/image/CVS.  Please fix or delete this file

查资料没找到关于解决此问题的答案,后来上CVS服务器端打开报错的目录(dwz/WebRoot/people/image/CVS)和正确的一比对,发现CVS目录下的fileattr.xml文件为0KB,而正确的文件下都不为空,查看目录发现有中文名字图片,删除后同步问题解决。

你可能感兴趣的:(xml,cvs)