kfogel@collab.net wrote:
> Andrea Carpani <andrea.carpani@criticalpath.net> writes:
> > I'd like to use subversion to keep history of a project that contains
> > block and character device files. Is there a way to tweak the mime types
> > to do a job similar to the one done with symlinks?
> >
> > With hooks maybe?
>
> That would be hard -- Subversion's code would have to support those
> types of special files, as we do for symlinks. I don't think tweaking
> mime-types or hooks is going to help.
Yes, it would require source modifications, however all the hard work
is done. Adding support for additional special devices basically
entails writing functions to translate them to and from the repository
normal format.
However, there was a conscious decision not to support device files at
this time because of security concerns. I think the consensus was
that they would be acceptable only if enabled by a local config option
that was by default off.
I know there is a wrapper script, 'asvn' that will allow you to
version pretty much any special file and maintain file/directory
permissions as well. Hunt around the mailing lists or the bot on #svn
knows about it.
-Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 25 17:10:51 2004