[Ape] .svn files causing problems

Kelly McDonald w4kpm at adelphia.net
Wed Oct 27 08:54:47 EDT 2004


someone provided me with the answer elsewhere (Thanks to Brad Clements
for pointing me in the right direction), posting here for posterity:

In etc/zope.conf, add the hidden-filenames option, like this::


<ape-db fs>
  <ape-storage>
    mapper-variation filesystem
    <ape-fs-connection fs>
      basepath $INSTANCE/var/myfs
      hidden-filenames _|\.svn
    </ape-fs-connection>
  </ape-storage>
  mount-point /Example/P/FS
  scan-interval 10
</ape-db>


On Tue, 2004-10-26 at 08:46, Kelly McDonald wrote:
> Hello,
> 
> I'm trying to use APE with subversion, but the .svn directories are
> causing problems upon startup. 
> 
> ...
> File
> "/home/kelly/scratch/zope/Products/Ape/lib/apelib/fs/connection.py",
> line 270, in write_directory
>     raise FSWriteError(
> apelib.fs.interfaces.FSWriteError: Not a legal object name: ''
> 
> I remove all .svn directories and it starts up with no problems.
> 
> I've looked through docs & searched for some way to provide an 'ignore
> list' - is there any way to tell ape to filter out these files so that I
> can run svn and keep APE happy? - or is there some way to set up a
> 'null' mapper?
> 
> TIA,
> Kelly
-- 
Kelly McDonald <w4kpm at adelphia.net>



More information about the Ape mailing list