AttributeError: 'module' object has no attribute 'hidepassword'
Created originally on Bitbucket by johansamyn (Johan Samyn)
I updated the Hg source repo I'm working from to <>, and TortoiseHg to <<08d1a86c2dc3>>. Which got me the following traceback when trying a pull from Workbench, or trying to go to the Sync task tab (or changing repo tab to a repo which had the sync tab as the default task tab): {{{ #!python ** Mercurial version (1.8+2-da192c62f89e). TortoiseHg version (2.0.3+192-08d1a86c2dc3) ** Command: workbench ** CWD: M:\DEV\thg-qt ** Extensions loaded: patchbomb, graphlog, mq, pbranch, rebase ** Python version: 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] ** Windows version: (6, 1, 7601, 2, 'Service Pack 1') ** Processor architecture: x86 ** Qt-4.6.2 PyQt-4.7.3 Traceback (most recent call last): File "M:\DEV\thg-qt\tortoisehg\hgqt\qtlib.py", line 877, in showEvent self.get() File "M:\DEV\thg-qt\tortoisehg\hgqt\qtlib.py", line 889, in get self._widget = func() File "M:\DEV\thg-qt\tortoisehg\hgqt\repowidget.py", line 278, in createSyncWidget sw = SyncWidget(self.repo, self) File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 273, in init self.reload() File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 353, in reload tm = PathsModel(self.paths.items(), self) File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 1349, in init safepath = url.hidepassword(path) File "M:\DEV\hg-default\mercurial\demandimport.py", line 76, in getattribute return getattr(self._module, attr) AttributeError: 'module' object has no attribute 'hidepassword' Traceback (most recent call last): File "M:\DEV\thg-qt\tortoisehg\hgqt\workbench.py", line 648, in forwarder getattr(w, name)() File "M:\DEV\thg-qt\tortoisehg\hgqt\repowidget.py", line 886, in pull self.syncDemand.get().pull() File "M:\DEV\thg-qt\tortoisehg\hgqt\qtlib.py", line 889, in get self._widget = func() File "M:\DEV\thg-qt\tortoisehg\hgqt\repowidget.py", line 278, in createSyncWidget sw = SyncWidget(self.repo, self) File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 273, in init self.reload() File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 353, in reload tm = PathsModel(self.paths.items(), self) File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 1349, in init safepath = url.hidepassword(path) File "M:\DEV\hg-default\mercurial\demandimport.py", line 76, in getattribute return getattr(self._module, attr) AttributeError: 'module' object has no attribute 'hidepassword'
}}}
When I update the Hg source repo back to where it was before the pull -update (cset <<98f79a5c3086>>), everything works fine again.