Ben Collins-Sussman <sussman@collab.net> writes:
> Anders Engström <aengstrom@gnejs.net> writes:
>
> > Any comments on this?
>
> The subversion repository only stores "contracted" keywords, like
> $Id$. All keyword expansion is done by the client, in the working
> copy.
>
> So I don't think you'd need any magic scripts to modify word
> documents, other than inserting an $Id$ keyword (in the correct
> place!) the very first time the Word doc is committed to the
> repository. After that, the svn client will do everything for you
> automatically.
If my recollection of how Word stores properties is correct, this
won't work out too well. The strings present in the OLE Properties
stream are counted, and it's also quite likely that you don't want the
Author property to still contain the '$Author: ' prefix and '$'
postfix actually in the document. Scripts are necessary for pulling
this off gracefully.
And Anders -- you will suffer the same problem in Subversion that you
did with CVS. We don't have a way (yet?) to push back to the client
the "actually committed" version of the file. For this reason, we do
not recomment modifying to-be-committed files in the pre-commit -- the
committer's working copy will be out of sync with the repository's
reality.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 29 17:20:34 2003