Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

changeset 3265
972d6be9dde7
parent 3255
51152e85c5e9
child 3268
8bfa66a9138a
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sat Feb 08 20:09:58 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Feb 09 15:10:53 2014 +0100
@@ -726,7 +726,8 @@
             if err:
                 self.__showError(err)
             elif self.commandMode != "incoming" or \
-                    os.path.exists(self.vcs.bundleFile):
+                (self.vcs.bundleFile and
+                 os.path.exists(self.vcs.bundleFile)):
                 out, err = self.__hgClient.runcommand(args)
                 self.buf = out.splitlines(True)
                 if err:
@@ -749,7 +750,7 @@
                 if procStarted:
                     process.waitForFinished(30000)
             
-            if os.path.exists(self.vcs.bundleFile):
+            if self.vcs.bundleFile and os.path.exists(self.vcs.bundleFile):
                 self.process.start('hg', args)
                 procStarted = self.process.waitForStarted(5000)
                 if not procStarted:

eric ide

mercurial