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

RE: Synchronising svn config files on Windows PCs

From: Todd C. Gleason <tgleason_at_impac.com>
Date: Tue, 21 Apr 2009 07:59:07 -0700

> -----Original Message-----
> From: Andy Levy [mailto:andy.levy_at_gmail.com]
> Sent: Tuesday, April 21, 2009 8:03 AM
> To: David Aldrich
> Cc: users_at_subversion.tigris.org; Bolstridge, Andrew
> Subject: Re: Synchronising svn config files on Windows PCs
>
> On Tue, Apr 21, 2009 at 09:47, David Aldrich
<David.Aldrich_at_eu.nec.com>
> wrote:
> > Thanks to everyone who responded to my question.
> >
> >> > The easiest method is to add a copy statement to the user's login
> >> > script.
> >
> > I'll go with this solution, as the registry solution is more
> complicated.
> >
> > There are a couple of details that I would like to ask about:
> >
> > Firstly:
> >
> >> If the user already has the latest version, it's not overlaid.
> >
> > Andy, how do you do this check?
>
> It's something in ZENWorks, which I've never used. I handed the config
> file to my co-worker who does that voodoo and gave him the parameters.
>
> > Secondly:
> >
> > I would do the copy directly from the config file's url. However, I
have
> used the $Id$ keyword at the top of the config file so that I can
quickly
> determine its revision. In my understanding, a copy from the url will
not
> expand that keyword. Is there any way to expand the keyword apart from
> checking out the file into a working copy?
> >

We do a similar thing using Python: Pull down the config file (using
svn cat), compare it to the user's config file, and if different, prompt
to overwrite it. So we don't actually have a working copy for the
config file, but it is stored in a Subversion repository.

We do this from a script that pulls down a build, which most users run
frequently enough that I'm not too concerned that a few may have a
slightly out-of-date version.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1844709

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-21 17:01:48 CEST

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.