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

svn status: filter on file extension

From: Niel De Clerk <NDeclerk_at_Angloplat.com>
Date: Tue, 19 Jan 2010 08:02:07 +0200

Good Day

I'd like to know if there is a way to make a SVN STATUS command
recursive while filtering the files using a wildcard?

I need this purely for performance reasons. I'm guessing that the
amount of data that the repository need to pass back (via a rather slow
network) will be less, and also that I'll save time when processing the
results since I don't have to filter out lots of unneeded information.

Some more detail:
I have a SVN working copy containing several levels of subdirectories.
In these subdirectories there are various different file types that are
all under version control.

I often use the following statement to obtain the current status of the
working copy:
svn status --verbose --show-updates

This works fine and returns the status of each and every file and
directory contained in the working copy.
However, I'm often only interested in the files with a specific
extension (*.kb). So I've tried to use

svn status --verbose --show-updates *.kb

But this only returns the .kb files found in the current directory (i.e.

Your assistance will be greatly appreciated.

Received on 2010-01-19 15:39:16 CET

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.