Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

branch
5_4_x
changeset 3266
d792451dd0fc
parent 3252
8dfa2a7e936d
child 3267
718e6ef2e74d
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Feb 09 12:30:48 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Feb 09 15:11:14 2014 +0100
@@ -707,7 +707,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:
@@ -730,7 +731,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