Fixed an issue introduced by the latest change.

Thu, 13 May 2010 14:36:46 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 13 May 2010 14:36:46 +0200
changeset 243
a1d982e68edf
parent 242
77047898c023
child 244
30be2b4a9721
child 245
de5c4effc747

Fixed an issue introduced by the latest change.

Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
--- 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