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

Re: Variables replacement

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-02-19 17:26:48 CET

On 2/19/07, Kris Wolff <k.wolff@wdv.de> wrote:
> Hi Andy,
>
> thanx for your reply, i fount the property settings and get this working
> for one file. Can i do this on everyfile? so called globaly? or do i
> have to register the properties for every single file in the trunk?
> *bigrollingeyes*

Yes, properties must be set on each file/directory where they apply.
There is no global property that can be set, because doing so could
result in a major problem (what if you set keyword properties on
binary files? They could get corrupted when substitution is done).

If you're using TortoiseSVN, you can apply properties recursively.
Otherwise, you're looking at some scripting to do it across a whole
working copy. I've used svn_apply_autoprops.py in the past to apply
the settings in my current auto-props (see the manual's section on
client configuration) to working copies.

> Andy Levy schrieb:
> > On 2/19/07, Kris Wolff <k.wolff@wdv.de> wrote:
> >> Hi List,
> >>
> >> i am very new to svn, comming from good old cvs. I am testing our server
> >> and stuck with a very tiny, maby (for you) easy beginners question.
> >>
> >> I have a Head in my source, looks like:
> >> <?
> >> // $Id$
> >> // $Revision$
> >> // $Author$
> >> // $Date$
> >> // $HeadURL
> >>
> >> echo("test");
> >> ?>
> >>
> >> but as i checked in, the variables will not replaced? why? is it a
> >> server issue? Howe can i fix?
> >
> > Keyword replacement is only performed on files which have the
> > appropriate values set in the svn:keywords property. See
> > http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.keywords.html
> >
>
> --
> Kris Wolff
> wdv New Media
> Online-Technik
>
> wdv Gesellschaft für Medien &
> Kommunikation mbH & Co. OHG
> Siemensstr. 6
> D-61352 Bad Homburg v.d.H.
>
> Telefon: 06172 - 670 451
> Telefax: 06172 - 670 172
> mailto: k.wolff@wdv.de
> www.wdv-newmedia.de
>
>
> ---
> wdv Gesellschaft fuer Medien & Kommunikation mbH & Co. OHG,
> Bad Homburg v.d.H., AG. Bad Homburg HRA 3087
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 19 17:27:26 2007

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.