Fixed an issue in the Mercurial client.

Mon, 09 Jul 2012 18:53:26 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jul 2012 18:53:26 +0200
changeset 1935
df157512654c
parent 1934
ad6b7c30fb9f
child 1936
536b88d73d53

Fixed an issue in the Mercurial client.

Plugins/VcsPlugins/vcsMercurial/HgClient.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgClient.py	Sat Jul 07 18:49:01 2012 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgClient.py	Mon Jul 09 18:53:26 2012 +0200
@@ -327,7 +327,11 @@
             inputChannels["L"] = func
         else:
             def myprompt(size):
-                reply = self.__prompt(size, outputBuffer.getvalue())
+                if outputBuffer is None:
+                    msg = self.trUtf8("For message see output dialog.")
+                else:
+                    msg = outputBuffer.getvalue()
+                reply = self.__prompt(size, msg)
                 return reply
             inputChannels["L"] = myprompt
         if input is not None:

eric ide

mercurial