Create new sub repository error trapping
Created originally on Bitbucket by Anonymous
Was in the add new sub repository folder selection dialog. Added a new folder (sub folder of repository on FS), recvd "can add repository to itself" message, deleted FS folder, clicked okay. Pretty sure it just didn't fail out gracefully?
{{{ #!python ** Mercurial version (2.0.2). TortoiseHg version (2.2.2) ** Command: ** CWD: C:\Documents and Settings\FO1436 ** Encoding: cp1252 ** Extensions loaded: ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] ** Windows version: (5, 2, 3790, 2, 'Service Pack 2') ** Processor architecture: x86 ** Qt-4.7.4 PyQt-4.8.6 Traceback (most recent call last): File "tortoisehg\hgqt\reporegistry.pyo", line 516, in addSubrepo File "genericpath.pyo", line 41, in isdir TypeError: coercing to Unicode: need string or buffer, NoneType found
}}}