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

Re: Embed revision number in Word Document

From: Jonathan Winterflood <jonathan.winterflood_at_gmail.com>
Date: Mon, 6 Jul 2009 23:33:25 +0200

Hi,

I imagine you want to embed the version the file is being committed into the
repository as.
In this case, maybe look into a commit hook, and possibly a svn property to
control whether to apply it to your file.

This of course means you have to be able to add hooks to your server, and
that you can somehow get code to edit the document...
IIRC, hooks can be any language, so there's flexibility there.

HTH, Jonathan

On Mon, Jul 6, 2009 at 23:24, Simon Large
<simon.tortoisesvn_at_googlemail.com>wrote:

> 2009/7/6 Andy Levy <andy.levy_at_gmail.com>:
> > On Mon, Jul 6, 2009 at 13:03, cmdel<c.delivorias_at_gmail.com> wrote:
> >> Hey guys,
> >> I'm looing for a way to embed the next revision number from SVN into a
> Word
> >> Doc before I submit it. If I could automate this procedure even better.
> I'm
> >> not too fussy on the solution but since it's going to be implemented in
> a
> >> company profile I would prefer a windows based solution.
> >> Any thoughts?
> >
> > http://insights.oetiker.ch/windows/SvnProperties4MSOffice/
>
> But note that you can't embed the *next* revision number (how would
> you know what that will be?), only the current one.
>
> Simon
>
> --
> : ___
> : oo // \\ "De Chelonian Mobile"
> : (_,\/ \_/ \ TortoiseSVN
> : \ \_/_\_/> The coolest Interface to (Sub)Version Control
> : /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------
>
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2368547
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2368549

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-07 07:41:02 CEST

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

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