1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 2e5a352

thgrepo: provide list of root paths of open repositories

  • Participants
  • Parent commits 1ddf571
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/thgrepo.py

View file
  • Ignore whitespace
         path = _normreporoot(path)
         return self._openagents.get(path, (None, 0))[0]
 
+    def repoRootPaths(self):
+        """Return list of root paths of open repositories"""
+        return self._openagents.keys()
+
     def _mappedSignals(self, agent):
         return [
             (agent.configChanged,           self._mapConfigChanged),