Fixed a bug in the Subversion interface caused by a change in the svn output. 5_2_x

Fri, 06 Apr 2012 12:36:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 06 Apr 2012 12:36:09 +0200
branch
5_2_x
changeset 1761
2c174ab55c4a
parent 1759
06d8e237479b
child 1765
ff613d395476

Fixed a bug in the Subversion interface caused by a change in the svn output.

Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py	Sun Apr 01 19:01:59 2012 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py	Fri Apr 06 12:36:09 2012 +0200
@@ -246,11 +246,17 @@
         if revision == "":
             rev = ""
         else:
-            rev = int(revision)
+            try:
+                rev = int(revision)
+            except ValueError:
+                rev = revision
         if change == "":
             chg = ""
         else:
-            chg = int(change)
+            try:
+                chg = int(change)
+            except ValueError:
+                chg = change
         statusText = self.status[status]
         
         itm = QTreeWidgetItem(self.statusList)

eric ide

mercurial