[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Suggestions on modifications on commit

From: Anders Engström <aengstrom_at_gnejs.net>
Date: 2003-09-29 17:29:49 CEST

Thanks for the input guys!

On Mon, Sep 29, 2003 at 10:19:08AM -0500, C. Michael Pilato wrote:
> 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.

This is true - that's the reason we wrote that evil commitinfo-script in
the first place.

>
> 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.
>

Any plans to implement something like this in the future?

//Anders

-- 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. Anders Engström         aengstrom@gnejs.net
. http://www.gnejs.net    PGP-Key: ED010E7F
. [Your mind is like an umbrella. It doesn't work unless you open it.]  

  • application/pgp-signature attachment: stored
Received on Mon Sep 29 17:30:46 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.