Error adding files to new repository
Created originally on Bitbucket by Anonymous
Mercurial threw an error while adding files to a newly created repository. Note: the repository had a subrepo added to it, i.e. .hgsub
file.
Here's the bug trace message...
#!python
** Mercurial version (4.4.1). TortoiseHg version (4.4.1)
** Command: --nofork workbench
** CWD: C:\Users\abir\Projects\lads\tools\lads_tools
** Encoding: cp1252
** Extensions loaded:
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\revdetails.pyo", line 392, in _onFileSelected
File "tortoisehg\hgqt\fileview.pyo", line 492, in display
File "tortoisehg\hgqt\filedata.pyo", line 700, in load
TypeError: _isdir() argument 1 must be encoded string without null bytes, not str
Traceback (most recent call last):
File "tortoisehg\hgqt\status.pyo", line 724, in run
File "mercurial\context.pyo", line 332, in sub
File "mercurial\subrepo.pyo", line 405, in subrepo
File "mercurial\subrepo.pyo", line 680, in __init__
File "mercurial\vfs.pyo", line 114, in exists
File "genericpath.pyo", line 26, in exists
TypeError: stat() argument 1 must be encoded string without null bytes, not str