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

Re: MSWord file in svn - change properties on commit

From: Szymon Kuliński <skulin_at_interia.pl>
Date: 2005-10-26 10:47:03 CEST

Thanks for answer. I guess, that my question wasn't clear... ;)

My requirement is simple:

I want to have in MSWord (DOC , RTF) informations: its version, author,
date, log info from SVN REPO.
Adding keywords in MSWord document destroys the doc. See mail from
2005-07-14: "Fixed-width keyword expansion" and further mails (Jani,
Xevious - is there any example for yours fixed length keyword and saving
in RTF ???).

My problem is simple too:

I don't know SVN, so I'm asking if there anybody had the same problem.
Maybe I could have a script on the client side (eg. TortoiseSVN)... i
really don't know.

Please help me.

Simon.

Dnia 2005-10-25 15:23, Użytkownik James FitzGibbon napisał:

>This is less of an implementation issue than a concept issue.
>
>The Subversion book warns against modifying a transaction in a hook:
>
>http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1
>
>So it doesn't really matter if you're modifying document properties in Word
>or re-formatting source code or just trying to change a property - it can't
>be done in a commit hook.
>
>The standing advice is to check for the things you would change in the hook
>and reject the commit if they aren't set properly.
>
>Regards
>
>-----Original Message-----
>From: Szymon Kulinski [mailto:skulin@interia.pl]
>Sent: Monday, October 24, 2005 7:00 PM
>To: users@subversion.tigris.org
>Subject: MSWord file in svn - change properties on commit
>
>Hello Everybody !
>
>I'm trying to find out is there any way to update MS Word documents '
>properties (date, revision, log, author) on commit in SVN ?
>Documents can be stored as RTF or DOC...
>
>I've started thinking about using win32com (python module) to get access
>to MS Word files. But - according to ym knowledge - it can be made only
>on Windows, so on the client side...
>Correct me if I'm wrong please.
>
>Thanks for help in advance,
>Szymon.
>
>----------------------------------------------------------------------
>INTERIA.PL | Kliknij po wiecej >>> http://link.interia.pl/f18c1
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>

----------------------------------------------------------------------
INTERIA.PL | Kliknij po wiecej >>> http://link.interia.pl/f18c1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 26 10:50:52 2005

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.