abort on bad hgignore pattern
Created originally on Bitbucket by liamstask (Liam Staskawicz)
Hi - I edited my hgignore to include an invalid pattern, clicked F5 to refresh in thg, and it was unhappy:
{{{ #!python ** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues ** Mercurial version (1.7.5+4-8f5c865b7b4a). TortoiseHg version (1.9.2) ** Command: --nofork workbench ** CWD: C:\code\chibisift ** Extensions loaded: fixfrozenexts ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] ** Windows version: (5, 1, 2600, 2, 'Service Pack 3') ** Processor architecture: x86 ** Qt-4.7.1 PyQt-4.8.2 Traceback (most recent call last): File "tortoisehg\hgqt\status.pyo", line 237, in reloadComplete File "tortoisehg\hgqt\status.pyo", line 251, in updateModel File "tortoisehg\hgqt\status.pyo", line 479, in init File "mercurial\context.pyo", line 700, in modified File "mercurial\util.pyo", line 169, in get File "mercurial\context.pyo", line 654, in _status File "mercurial\localrepo.pyo", line 1134, in status File "mercurial\dirstate.pyo", line 645, in status File "mercurial\dirstate.pyo", line 466, in walk File "mercurial\util.pyo", line 169, in get File "mercurial\dirstate.pyo", line 108, in _ignore File "mercurial\ignore.pyo", line 101, in ignore Abort: C:\Keil\projects\STM32F10x\chibisift.hgignore: invalid pattern (relre): *.bak
}}}