Commits

Yuya Nishihara committed e0eb53c

bisect: assert not to overwrite running command session

Comments (0)

Files changed (1)

tortoisehg/hgqt/bisect.py

         return self._repoagent.rawRepo()
 
     def _setSession(self, sess):
+        assert self._cmdsession.isFinished()
         self._cmdsession = sess
         sess.commandFinished.connect(self._cmdFinished)
         sess.outputReceived.connect(self._cmdlog.appendLog)