Issue #383 resolved

Runtime error during annotation

Anonymous created an issue

{{{ Please report this bug to tortoisehg-discuss@lists.sourceforge.net or http://bitbucket.org/tortoisehg/stable/issues Mercurial version (1.3). TortoiseHg version (0.8) Command: --nofork datamine --listfile H:\TEMP\THGEC.tmp CWD: E:\Projects\FpgaModulesCommon\Torre ** Extensions loaded: extdiff, mq Recoverable runtime error (stderr): grep: invalid match pattern: nothing to repeat grep: invalid match pattern: nothing to repeat Exception in thread Thread-4: Traceback (most recent call last): File "threading.pyc", line 486, in __bootstrap_inner File "threading.pyc", line 446, in run File "thgutil\hglib.pyc", line 168, in hgcmd_toq File "mercurial\dispatch.pyc", line 449, in _dispatch File "mercurial\dispatch.pyc", line 317, in runcommand File "mercurial\dispatch.pyc", line 501, in _runcommand File "mercurial\dispatch.pyc", line 454, in checkargs File "mercurial\dispatch.pyc", line 448, in <lambda> File "mercurial\util.pyc", line 370, in check File "mercurial\commands.pyc", line 1305, in grep File "mercurial\cmdutil.pyc", line 1111, in walkchangerevs Abort: can only follow copies/renames for explicit filenames

Exception in thread Thread-5: Traceback (most recent call last): File "threading.pyc", line 486, in __bootstrap_inner File "threading.pyc", line 446, in run File "thgutil\hglib.pyc", line 168, in hgcmd_toq File "mercurial\dispatch.pyc", line 449, in _dispatch File "mercurial\dispatch.pyc", line 317, in runcommand File "mercurial\dispatch.pyc", line 501, in _runcommand File "mercurial\dispatch.pyc", line 454, in checkargs File "mercurial\dispatch.pyc", line 448, in <lambda> File "mercurial\util.pyc", line 370, in check File "mercurial\commands.pyc", line 1305, in grep File "mercurial\cmdutil.pyc", line 1111, in walkchangerevs Abort: can only follow copies/renames for explicit filenames

grep: invalid match pattern: nothing to repeat grep: invalid match pattern: nothing to repeat

}}}

Comments (5)

  1. Steve Borho
    • changed status to open

    I believe this is caused by an invalid regular expression. Looks like you're using a glob in a place where Mercurial expects a regular expression. Could you include more reproduction details, like what was in the various inputs?

  2. Steve Borho

    datamine: fix initial state of following checkbox

    If datamine is opened in a subdirectory, the include path is automatically set for the user, while the following button was not disabled. So checking that button could cause the tracebacks in issue #383

    Fixes #383

    7ba4f626f6c3

  3. Log in to comment