eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py

changeset 7979
54b73174ab61
parent 7923
91e843545d9a
child 8143
2c730d5fd177
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py	Wed Jan 13 20:13:26 2021 +0100
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py	Thu Jan 14 17:51:12 2021 +0100
@@ -428,3 +428,12 @@
         @rtype bool
         """
         return self.__commandRunning
+    
+    def getRepository(self):
+        """
+        Public method to get the repository path this client is serving.
+        
+        @return repository path
+        @rtype str
+        """
+        return self.__repoPath

eric ide

mercurial