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

Re: Way to apply properties to all files of specific extension in the repo?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-04-11 14:06:38 CEST

On 4/11/06, Stefan Küng <tortoisesvn@gmail.com> wrote:
> On 4/11/06, Peter Mounce <Peter.Mounce@whitbybird.com> wrote:
> > We have some Office documents creeping into our repositories. I haven't
> > set up svn:needs-lock as an auto-prop, yet, but will shortly; that will
> > catch new files as they're added. But is there a way to apply that (or
> > indeed any file) to files of a specified type within a repo, all at
> > once, using TSVN?
>
> right-click on the top folder of your working copy, choose "search"
> from the context menu. Then search for the file extension. Select all
> these files, right-click, choose "properties".
> Now you can enter the svn:needs-lock property on the Subversion tab,
> click on "Set" and wait until it's finished.
>
> Haven't tested it, but it should work.

The only snag you might hit is picking up unversioned files as well
(including copies of your WC files in .svn directories). If you have
any unversioned files in a group you've selected, I've found that the
TSVN tab doesn't show up in the Properties dialog.

I think you can defeat this (at least the copies in .svn) by telling
Search to not look in hidden folders, but it's been over a week since
I last did this so I don't recall exactly.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Apr 11 14:07:06 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.