Workbench push fails if no default URL
Created originally on Bitbucket by Anonymous
{{{
#!python
** Mercurial version (2.2.2). TortoiseHg version (2.4.1)
** Command: --nofork workbench
** CWD: E:\code\src
** Encoding: cp1252
** Extensions loaded: purge, eol, transplant, fetch
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
** Windows version: (6, 1, 7601, 2, 'Service Pack 1')
** Processor architecture: x64
** Qt-4.7.4 PyQt-4.8.6
Traceback (most recent call last):
File "tortoisehg\hgqt\workbench.pyo", line 815, in forwarder
File "tortoisehg\hgqt\repowidget.pyo", line 1074, in push
File "tortoisehg\hgqt\sync.pyo", line 851, in push
File "tortoisehg\hgqt\sync.pyo", line 1099, in pushclicked
File "tortoisehg\hgqt\sync.pyo", line 774, in run
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
}}}
It happens when in .hgrc I don't have default URL set. In previous version (2.4) it worked correctly giving me a choice which URL to choose.