RuntimeError in commit tool by missing syntax statement in .hgignore
Created originally on Bitbucket by stim
Using the .hgignore file: {{{ #!text
.metadata /bin/*
*.aux *.bbl *.blg *.log *.tps }}}
The commit tool is unable to refresh the uncommitted changes, and produces the attached stack trace.
Adding the statement "syntax: glob" to the top of the .hgignore file fixes the issue.
{{{ #!python ** Please report this bug to http://bitbucket.org/tortoisehg/stable/issues or tortoisehg-discuss@lists.sourceforge.net ** Mercurial version (1.4.1). TortoiseHg version (0.9.1.1) ** Command: --nofork commit ** CWD: C:_tim\Workspaces\Studie_thesis\Workspace ** Extensions loaded: extdiff Recoverable runtime error (stderr): Exception in thread Thread-1: Traceback (most recent call last): File "threading.pyo", line 486, in __bootstrap_inner File "threading.pyo", line 446, in run File "tortoisehg\hgtk\status.pyo", line 694, in get_repo_status File "mercurial\localrepo.pyo", line 982, in status File "mercurial\dirstate.pyo", line 609, in status File "mercurial\dirstate.pyo", line 447, in walk File "mercurial\util.pyo", line 150, in get File "mercurial\dirstate.pyo", line 104, in _ignore File "mercurial\ignore.pyo", line 101, in ignore Abort: C:_tim\Workspaces\Studie_thesis\Workspace.hgignore: invalid pattern (relre): *.aux
Traceback (most recent call last): File "tortoisehg\hgtk\status.pyo", line 709, in status_wait File "tortoisehg\hgtk\status.pyo", line 607, in refresh_file_tree AttributeError: 'GCommit' object has no attribute 'status'
}}}