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

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

From: Peter Yamamoto <yamamotop_at_page44.com>
Date: 2006-04-12 00:29:08 CEST

I have no affiliation other than a customer so here's a plug for xplorer2... A pretty good companion with TortoiseSVN.

You can do searches with inclusions/exclusions referencing the SVN attributes.

So you can search for all ignored/unversioned but not .svn in path for example.

Choice of depth first/breadth first search (can help a lot in a large repository when you know what/where you're looking for), and ESC to abort/cancel a search actually works (unlike most Windows Apps, umm, sorry Tortoise included but maybe that's because of other subversion issues).

Anyway, the point is that if you do not have an advanced search utility, and you are using subversion+TortoiseSVN, then you will find a lot of nice things in xplorer2. Shareware... In my opinion worth it but I guess open source people may disagree!-)

Caveat, you have to modify a registry key to get good extra attributes behavior in xplorer2. This is mentioned in these threads:
http://netez.com/bbs/viewtopic.php?t=3975&highlight=
http://netez.com/bbs/viewtopic.php?p=25113&highlight=registry#25113

Peter

-----Original Message-----
From: Andy Levy [mailto:andy.levy@gmail.com]
Sent: Tuesday, April 11, 2006 5:07 AM
To: users@tortoisesvn.tigris.org
Subject: Re: Way to apply properties to all files of specific extension in the repo?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Apr 12 00:29:32 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.