Error when changing post pull behavior in a repo with a sub-repo
Created originally on Bitbucket by SteveKaye (Steve Kaye)
I get an error report when I change the post pull behavior in a repository containing a sub-repository.
The error occurs when pressing the Save button on the post pull behavior dialog whether I change the option or not. If I do change the option then the new choice is saved.
I'm changing this option in TortoiseHg Workbench with the Mobius repository selected. Tsl.Web.Controls is a sub-repository of this repository.
If I change the option in a repository with no sub-repository (including Tsl.Web.Controls) then no error occurs.
The error report is: {{{ #!python ** Mercurial version (2.1). TortoiseHg version (2.3) ** Command: log ** CWD: D:\Projects\Mobius\Tsl.Web.Controls ** Encoding: cp1252 ** Extensions loaded: rebase, hgsubversion, mercurial_keyring, convert, fetch, record, mq, transplant ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] ** Windows version: (6, 1, 7600, 2, '') ** Processor architecture: x86 ** Qt-4.7.4 PyQt-4.8.6 Traceback (most recent call last): File "tortoisehg\hgqt\repowidget.pyo", line 943, in configChanged File "tortoisehg\hgqt\revdetails.pyo", line 298, in reload File "mercurial\localrepo.pyo", line 234, in contains File "mercurial\localrepo.pyo", line 596, in lookup File "mercurial\revlog.pyo", line 710, in _match TypeError: object of type 'NoneType' has no len()
}}}