Hi Mads,

You're right, my report was erroneous.
It is '#' that is messing the detection.
Using '\#' works perfectly.

-----Message d'origine-----
De : Steve Borho [mailto:[email protected]] 
Envoyé : mardi 12 juillet 2011 17:52
À : Mads Kiilerich
Cc : Laurent Dufrechou; [email protected]
Objet : Re: [thg] [usability] .hgignore don't work when "." in glob formula

On Tue, Jul 12, 2011 at 4:26 AM, Mads Kiilerich <[email protected]> wrote:
> On 07/12/2011 09:32 AM, Laurent Dufrechou wrote:
>> Hello,
>>
>> I’ve just seen another little « bug ».
>>
>> In ignore panel.
>>
>> I got some files I want to filter that should match this filter: *.*#
>>
>> (toto.s1#, titi.s2#)
>>
>> Sadly the “.” is making the glob failing.
>
> In what way does it fail?
>
>> Perhaps this is normal for a glob but from user point of view it seems
>> buggy.
>>
>> Workaround:
>>
>> Filter : *\.*# works.
>
> AFAICS there is no problem with "." and your workaround doesn't make any
> difference in 2.1.1.
>
> thg do however not escape "#" correctly when it is inserted in
> .hgignore. In your case you should have "*.*\#" in your .hgignore.

News to me, can you open an issue for this?

-- 
Steve Borho


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to