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

How to filter on last path component

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Tue, 19 Aug 2014 11:58:59 -0500

I'm trying to set a filter on the "show log" dialog to only show changes to
a folder itself, not its children (mostly property changes).

I thought I could accomplish this using a regular expression filter, to
make sure the folder name is at the end of the string (because it is the
last item in the path).

But I am not having any success.

My folder is called "externals", it's in /Path/to/project/trunk/externals.

Using filter "externals" without the quotes shows the results I want, but
also commits I don't want, that changed files or subdirectories under this
directory.

Using filter "externals$" without the quotes gives zero results. I expected
this to match "externals" at the end of the path string (there are several
revisions where this should be the case).

So I thought, maybe the string matched is actually a combination of the
fields, separated by whitespace or something, and tried "externals\s". The
only result this gives me is where the log message contains the word
"externals", it does not give any results for where the path contains the
externals directory. I can make it have zero results if I uncheck the
"messages" checkbox in the filter options.

How can I properly construct a filter that matches the end of a path string?

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3086905

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-08-19 18:59:30 CEST

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.