On Mon, Sep 24, 2012 at 4:21 AM, Ryan Schmidt <subversion-20...@ryandesign.com> wrote: > > On Sep 24, 2012, at 03:17, Andreas Tscharner wrote: >> >>> It's not a bug in Subversion; it's a "feature" (or at least a >>> reality that's unlikely to change) of the Windows operating >>> system. On Windows, you may not create a file whose name is >>> "PRN", with any extension. >> >> It would be a great benefit for the user if SVN warns about that fact during >> "svn add"... > > Subversion can't really know if you care about Windows compatibility. Many > people don't. > > What you can do though, if you care about Windows compatibility, is to write > a pre-commit hook script that prevents the addition of files with those > names. It won't alert you when you "svn add", but it will prevent the "svn > commit".
Don't forget to check for both cases and mixes of case, such as 'pRn".