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

Re: matching in ignore list

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-03-08 20:10:00 CET

Oblio wrote:
> How does filename matching occur within the ignorelist? I want to
> ignore any file not matching a specific pattern; eg '???[^_]*' --
> that's three characters that must be followed by an underscore or it'll
> be ignored. It works in the OS, but not in Tortoise?

TSVN uses full paths and the Subversion library uses relative paths,
e.g. d:\development\project\folder\file.cpp and file.cpp
So your pattern must match both the full and the relative path. In your
case, that would be
???_*
*\???_*

btw: I don't think your pattern works in Windows, at least not with the
normal windows apps or the console: they don't understand regexes.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://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 Mar 8 20:10:11 2006

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