[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: James FitzGibbon <jfitzgibbon_at_primustel.ca>
Date: 2005-10-27 22:42:28 CEST

This posting:

http://svn.haxx.se/users/archive-2005-07/0813.shtml

suggests that fixed-width keyword expansion is already in Subversion 1.2.
It's just not documented in the book yet. The issue-tracker has more
detail:

http://subversion.tigris.org/issues/show_bug.cgi?id=2095

It bears mentioning that fixed-width keyword expansion may not be a panacea
for your problem. It only works as long as contiguous strings of
user-visible text remain contiguous strings in the saved file. With
proprietary formats, you're not guaranteed that this is the case (or if you
are lucky enough that it is, it can change on you). I had this problem with
old versions of Power Builder and Merant PVCS. Expanding a keyword,
fixed-width or not, would corrupt the file every time.

Regards

-----Original Message-----
From: Leon Zandman [mailto:lzandman@lode.nl]
Sent: Wednesday, October 26, 2005 6:20 AM
To: Szymon Kulinski; users@subversion.tigris.org
Subject: RE: MSWord file in svn - change properties on commit

> I want to have in MSWord (DOC , RTF) informations: its
> version, author, date, log info from SVN REPO.

The latest versions of MSWord are capable of saving a document in a
(proprietary) XML file format. I'm using it for all my MSWord documents
that I've put in SVN. Because this is a plain text file format you can
easily add things yourself. I've added the SVN keywords to the
<o:Author> and <o:Revision> document properties, but you can also easily
add custom document properties.

As an added bonus it is a lot easier to diff these XML documents than
their binary (.DOC) counterparts.

Greetz,

Leon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005
 
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005
 
-- 
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 27 22:45:50 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.