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

Fixed-width keyword expansion

From: Derek Hoyle <derek.hoyle_at_embeduk.com>
Date: 2005-07-14 12:15:14 CEST

Hi,
 
There is often a need for revision numbers to be added to binary files,
especially documents written in MS Word, Open Office, etc. This is possible
(with some compromise) using other version control tools. Using Visual
Source Safe (yuk!) a fixed-width field can be entered in the form:
 
$Revision:: $
 
The :: tells VSS to expand within the $...$ without changing the number of
characters, so the file length and layout is unchanged. This works for all
keywords.
 
This also helps keep source file header blocks tidy, for those who like that
sort of thing. The down side is that the data may be truncated, but that's
up to the user to leave enough space.
 
This is a really useful feature that allows nasty binary documents to become
version controlled, and I propose that something similar be included in SVN.
It would make a big difference to a lot of document management tasks that
presently rely on manual versioning.
 
Is there any more support for this? Is there another way to version MS Word
or OO files?
 
Keep up the excellent work...
 
Best Regards,
 
 
Derek Hoyle
embed limited
HYPERLINK "http://www.embeduk.com/"http://www.embeduk.com
Registered in England & Wales No. 5441254

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.14/48 - Release Date: 13/07/2005
 
Received on Thu Jul 14 12:25:25 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.