Fixed an issue in the Mercurial client. 5_2_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jul 2012 18:53:26 +0200
branch
5_2_x
changeset 1937
207267495b8c
parent 1931
0e67826e1991
child 1938
057ba07e0e85

Fixed an issue in the Mercurial client.

Plugins/VcsPlugins/vcsMercurial/HgClient.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgClient.py	Tue Jul 03 19:01:50 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