1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed d94c081

workbench: camel-case internal _findRepoWidget method

  • Participants
  • Parent commits 99dd167
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/workbench.py

View file
         root = hglib.fromunicode(root)
         if root and not root.startswith('ssh://'):
             if reuse:
-                for rw in self._findrepowidget(root):
+                for rw in self._findRepoWidget(root):
                     self.repoTabsWidget.setCurrentWidget(rw)
                     return
             try:
                                        FD.ShowDirsOnly | FD.ReadOnly)
         self.openRepo(path, False)
 
-    def _findrepowidget(self, root):
+    def _findRepoWidget(self, root):
         """Iterates RepoWidget for the specified root"""
         def normpathandcase(path):
             return os.path.normcase(util.normpath(path))
         s.setValue(wb + 'lastactiverepo', '')
 
     def goto(self, root, rev):
-        for rw in self._findrepowidget(root):
+        for rw in self._findRepoWidget(root):
             rw.goto(rev)
 
     def closeEvent(self, event):