1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #2194 duplicate

Error when trying to ignore .hgignore file

Lester Caine
created an issue

Not sure if this is related to testing subrepos built from github. Latest hggit is working nicely, but still need further testing in thg and mercurialeclipse

.hgignore does include itself which may be the problem? It can't see itself where it was automatically added but does not want to be.

** Mercurial version (2.1.1).  TortoiseHg version (2.3)
** Command: -R /home/lester/workspaceE4/bitweaver
** CWD: /home/lester/workspaceE4/bitweaver
** Encoding: UTF-8
** Extensions loaded: hggit, hgsubversion
** Python version: 2.7.2 (default, Aug 19 2011, 20:41:43) [GCC]
** Qt-4.7.4 PyQt-4.8.5
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/tortoisehg/hgqt/wctxactions.py", line 171, in runAction
    notify = func(parent, hu, repo, files)
  File "/usr/lib64/python2.7/site-packages/tortoisehg/hgqt/wctxactions.py", line 305, in forget
    commands.forget(ui, repo, *files)
  File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line 2458, in forget
    rejected = cmdutil.forget(ui, repo, m, prefix="", explicitonly=False)[0]
  File "/usr/lib64/python2.7/site-packages/mercurial/cmdutil.py", line 1227, in forget
    subbad, subforgot = sub.forget(ui, submatch, prefix)
ValueError: need more than 0 values to unpack