Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

changeset 243
a1d982e68edf
parent 241
aaa856499ed5
child 244
30be2b4a9721
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Thu May 13 14:20:54 2010 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Thu May 13 14:36:46 2010 +0200
@@ -366,6 +366,8 @@
                         Preferences.getSystem("IOEncoding"), 
                         'replace')
                 self.__projectRevision = output.strip()
+                if self.__projectRevision.endswith("+"):
+                    self.__projectRevision = self.__projectRevision[:-1]
             else:
                 if not finished:
                     errMsg = self.trUtf8("The hg process did not finish within 30s.")
@@ -555,6 +557,7 @@
         
         self.logTree.clear()
         self.__started = True
+        self.__identifyProject()
         self.__getLogEntries()
     
     def __procFinished(self, exitCode, exitStatus):
@@ -590,8 +593,6 @@
         """
         Private method to process the buffered output of the hg log command.
         """
-        self.__identifyProject()
-        
         noEntries = 0
         log = {"message" : []}
         changedPaths = []

eric ide

mercurial