Cannot close repo tab after adding extension to it

Issue #2048 resolved
Sam Stenvall
created an issue


After adding an extension to a repository (by right-clicking -> Settings -> Edit file) the repositories tab cannot be closed, instead you get a pop-up with the following:



Mercurial version (2.2.1). TortoiseHg version (2.4) Command: CWD: C:\Windows\system32 Encoding: cp1252 Extensions loaded: exportfiles, mq 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 700, in repoTabCloseRequested File "tortoisehg\hgqt\repowidget.pyo", line 1047, in closeRepoWidget File "tortoisehg\hgqt\repowidget.pyo", line 1032, in okToContinue AttributeError: 'RepoWidget' object has no attribute 'mqDemand'


Steps to reproduce:

  1. Double-click a repository to open it.
  2. Add an extension to it by editing the file directly.
  3. Attempt to close the tab.

If it's of any interest, the repository I noticed this on is actually a sub-repository. The parent repository had the MQ extension already enabled.

Comments (2)

  1. Log in to comment