Issue #2285 invalid

Exception when adding untracked files

Anonymous created an issue
** Mercurial version (2.4+6-35ba170c0f82).  TortoiseHg version (2.6)
** Command: 
** CWD: \\?\C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: mercurial_keyring, rebase, transplant, mq, sync, hggit, win32lfn
** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-4.8.0 PyQt-4.9.1
Traceback (most recent call last):
  File "tortoisehg\hgqt\wctxactions.pyo", line 169, in runAction
  File "tortoisehg\hgqt\wctxactions.pyo", line 326, in add
  File "mercurial\commands.pyo", line 177, in add
  File "mercurial\cmdutil.pyo", line 1552, in add
  File "mercurial\context.pyo", line 1028, in add
  File "mercurial\lock.pyo", line 137, in release
  File "mercurial\localrepo.pyo", line 1136, in unlock
  File "mercurial\dirstate.pyo", line 507, in write
TypeError: expected string key

Comments (2)

  1. Mark Jordan

    Ok, updating to the latest version of win32lfn seems to have fixed this. However, I didn't have win32lfn enabled in mercurial.ini or for the repository in question (and I tried disabling it with win32lfn=! in .hgrc) so this should not have been a problem.

    Thanks anyway :)

  2. Log in to comment