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

expanding keywords

From: George Georgalis <george_at_galis.org>
Date: 2006-04-12 03:06:53 CEST

Hi,

I discovered that I can use

 svn propset svn:keywords 'Id URL' trunk/dirA/fileA

to allow for keyword expansion like this in that fileA

 $URL: file:///home/geo/svn-test/trunk/dirA/fileA $
 $Id: fileA 14 2006-04-12 00:42:14Z geo $

However, I'd like to see a keyword expand like this
 
 $ LocalName: trunk/dirA/fileA 14 2006-04-12 00:42:14Z geo $

which is the info most important to me... a system by which
files can change repositories and continue to reflect their
history. In cvs world, I added these lines to CVSROOT/config

LocalKeyword=GeorgalisG=CVSHeader
KeywordExpand=iGeorgalisG

so, whenever I put the string "$GeorgalisG$" in a repo file, it
gets expanded like

  $GeorgalisG: mkinst/qmail-inst.sh,v 1.26 2006/02/20 19:32:09 geo Exp $

If that file was ever brought into another repo, their config
could be adjusted to retain my keyword but expand their own, and
again for CompanyaB...

 $CompanyB: partner/CompanyA/extra/scripts/qmail-inst.sh,v 1.2 2006/03/30 00:00:07 Exp $
 $CompanyA: extra/scripts/qmail-inst.sh,v 1.0 2006/03/29 23:58:05 Exp $
 $GeorgalisG: mkinst/qmail-inst.sh,v 1.26 2006/02/20 19:32:09 geo Exp $

Will this be behavior be configurable in svn?

// George

-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george_at_galis.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 12 03:08:25 2006

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.