[cvsnt] huge server update step

Gerhard Fiedler lists at connectionbrazil.com
Fri Nov 25 20:24:58 GMT 2005


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.


Bo Berglund wrote:

>>>> File names with ampersands in them didn't get handled correctly. The
>>>> ampersands got placed verbatim into the XML files, and they don't like
>>>> that. Were only a few, and I could easily edit that by hand (replaced
>>>> the "&" with the correct "&") -- which seems to have fixed the
>>>> issue. Newly added files with ampersands in their names seem to get
>>>> inserted correctly.
>>> 
>>> Where does XML files come into this???
>>
>>On the server, CVS/fileattr.xml seems to contain a list of all the files in
>>a given module.
>>
> Now back home where I have a 2.5.03.2151 server and had a look. In
> most folders there is no CVS folders at all, but in some there is.
> It contains the fileattr.xml file, but it does not seem to contain any
> file info at all. Here is an example:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <fileattr>
>   <directory>
>     <acl>
>       <create />
>       <read />
>       <tag />
>       <write />
>     </acl>
>     <owner>bosse</owner>
>   </directory>
> </fileattr>
> 
> So what does it really do?

I work with edit/unedit and read-only files in sandboxes, and a long time
ago switched on watch on the whole repository. That "watched" tag is
present for the files in my repository, and probably that's why they appear
in the fileattr/fileattr.xml files. It seems that any file that has
something special to notice gets listed in the file.

<?xml version="1.0" encoding="UTF-8"?>
<fileattr>
  <directory>
    <acl>
      <create />
      <read />
      <tag />
      <write />
    </acl>
    <owner>gfiedler</owner>
  </directory>
  <file name="test.txt">
    <watched />
  </file>
</fileattr>

It's the name attribute of the file tag that was wrong after the first
creation of the fileattr.xml (that is, when the contents of the older
fileattr get converted into fileattr.xml). It seems to get handled
correctly for any other operations.

Gerhard



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