Commits

Yuya Nishihara committed b2ec468

finalize

  • Participants
  • Parent commits ad753a4

Comments (0)

Files changed (2)

File clonedrepo-redun.diff

-# HG changeset patch
-# Date 1358780764 -32400
-# Parent 28dd34c43933e1690c0fdbba9c2985ac722393ff
-workbench: simply connect clonedRepository to showRepo
-
-No need to omit the second parameter of clonedRepository explicitly, Qt does.
-
-diff --git a/tortoisehg/hgqt/workbench.py b/tortoisehg/hgqt/workbench.py
---- a/tortoisehg/hgqt/workbench.py
-+++ b/tortoisehg/hgqt/workbench.py
-@@ -582,14 +582,6 @@ class Workbench(QMainWindow):
-                 return w
-         return self._openRepo(root, False)
- 
--    @pyqtSlot(QString, QString)
--    def showClonedRepo(self, root, src=None):
--        """Activate the repo tab or open it on if not available [unicode]
--
--        This method simply calls showRepo, ignoring the second argument on the received signal
--        """
--        self.showRepo(root)
--
-     @pyqtSlot(unicode, QString)
-     def setRevsetFilter(self, path, filter):
-         for i in xrange(self.repoTabsWidget.count()):
-@@ -889,7 +881,7 @@ class Workbench(QMainWindow):
-             args = []
-         dlg = CloneDialog(args, parent=self)
-         dlg.finished.connect(dlg.deleteLater)
--        dlg.clonedRepository.connect(self.showClonedRepo)
-+        dlg.clonedRepository.connect(self.showRepo)
-         dlg.exec_()
- 
-     def openRepository(self):
-clonedrepo-redun.diff
 issue2518-try-iterhunks.diff
 less-sysexit.diff
 thgrepo-nocreate.diff