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

Re: expanding keywords

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-04-12 16:50:41 CEST

As I understand it, hook scripts should not modify files being
committed. If they do, then your working copy will not match the
repository after a commit, unless you update immediately afterward.

On 4/12/06, brinkleybw@bigfoot.com <brinkleybw@gmail.com> wrote:
>
> Can you trigger an m4 script on the server-side to do this custom expansion
> within the file? Just a thought.
> -Brandon
>
>
>
> On 4/12/06, Ryan Schmidt <subversion-2006Q1@ryandesign.com>
> wrote:
> >
> On Apr 12, 2006, at 03:06, George Georgalis wrote:
>
> > 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 $
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 12 16:52:24 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.