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

Re: Bug submission - Global ignore pattern is not used in filtering folders during commit

From: <paullan_at_rogers.com>
Date: Fri, 23 Jan 2009 08:19:48 -0800 (PST)

On Jan 23, 10:15 am, Simon Large <simon.tortoise..._at_googlemail.com>
wrote:
> 2009/1/23 Brad Stiles <bradley.sti..._at_gmail.com>:
>
> >>> To ignore folders, use
> >>> *\[Oo][Bb][Jj]
>
> >> I don't think this works any more and I updated the trunk docs
> >> recently to reflect this. I queried it on the subversion dev list and
> >> it is only intended to work on file specs. If it works on folders at
> >> all then it is considered a bug, so even if it works now it quite
> >> possibly won't in future.
>
> > I've been using just the directory name, e.g. [Oo][Bb][Jj], to ignore
> > folders I started using Subversion on Visual Studio projects.  Are you
> > saying that it's not *supposed* to work this way, or am I
> > misunderstanding you?
>
> You would have to check on the subversion list. The particular issue I
> looked at was including path information in the global ignore pattern,
> so trying to use something like 'source/*.txt' to ignore .txt files
> only in a 'source' directory doesn't work. The advice I received was
> that ignore patterns should not contain path components.
>
> However, I would imagine it is perfectly legal to use 'obj' or
> '[Oo][Bb][Jj]' with no path components to ignore any object called,
> well, OBJ.
>
> Simon

If the new behaviour is 'proper behaviour' for the global ignore list,
then I would suggest a feature enhancement to have a new filter for
the commit dialog to have a new field for filtering unwanted folders.
I only care about not seeing the folder(s) being filtered in the
commit dialog. A simple set of filter(s) field on the commit dialog
would be all I would require... If anyone has used Beyond compare,
there is a nice syntax for adding/hiding items that I wish more
programs would use:

-obj\;-bin\;-*.svn-base;m*

would hide obj folders, bin folders and any file with svn-base as it's
extension, and only show files that start with m

What do people think?

(I might go and implement this myself if I ever get the TortoiseSvn
source building myself...)

Paul

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-23 17:35:20 CET

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.