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

Re: Config auto-props and svn:keywords on w2k server

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-07-22 01:50:06 CEST

* Chris McKay <chris@defacto.com.au> [2004-07-21 16:27]:
> Actually that wasn't the source of my confusion, the confusion has
> arisen in that I thought that a server side auto-props config would
> apply to adds from a remote workstation. I see this topic has been
> beaten to death by various Zope developers, For what it's worth I'm on
> their side. "Honestly: how often do you add new source files to a
> repository?" - well when you start out on a brand new project (with a
> brand new source code control system...), you add a hell of a lot (and
> not all at once) ...

Just yesterday, I posted a Perl script to the dev list that recursively sets
properties on files/dirs in your working copy based on the auto-props section
of a configuration file. This might be useful for you if you have imported
files without auto-props turned on, but now want to set properties as if
auto-props had been enabled. This is a very common occurrence where I work,
since we've just switched totally over to Subversion and not everyone is
completely up to speed with their local configuration files.

I hope that the script may be accepted into the contrib section of the
Subversion project repository, but in the meantime, you can find it archived
in this message:

http://www.contactor.se/~dast/svn/archive-2004-07/0866.shtml

Right now it only runs on Linux (as far as I know), and since I just whipped
it up yesterday, there are no guarantees that it is completely bug-free, but
hopefully this will help you in your situation. (Hmm, I just double checked
your previous message and it looks like you're running on Windows. I will
make an effort to get it working on Windows in the next day or two.)

-- Mike

-- 
Michael W. Thelen
If there were in the world today any large number of people who desired their
own happiness more than they desired the unhappiness of others, we could have
paradise in a few years.
                -- Bertrand Russell

Received on Thu Jul 22 01:52:02 2004

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.