> I don't believe that there are any hook scripts available to filter a
> file's contents as it is being checked out though.
I believe (with an Apache-hosted svn repo) a well-crafted mod_filter
could accomplish this task. Whether the files would be marked as "dirty"
in the WC would depend on the exact mechanism svn uses for determining
such a detail. In my head, so long as the file svn uses for the "revert"
command matches the "checked out" copy, it wouldn't be dirty.
As far as the actual watermarking (in a non-intrusive way, and there's
the rub), sequentially altering local variables to construct a "bible
code" (sorry, I don't have the actual cryptographic glossary in front of
me, but when you take the 2nd letter of word 1, the 4th letter of word
3, etc, and it spells out a message) is one idea. Conceptually, one
would only need to replace 33 tokens to be able to represent a GUID in
the code.
I responded because I like the challenge of this question, but I feel
it's a terrible idea to try and solve this problem using an SCM tool.
-- /v\atthew
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 20 06:09:48 2005