Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py

branch
5_4_x
changeset 3266
d792451dd0fc
parent 3252
8dfa2a7e936d
child 3267
718e6ef2e74d
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py	Sun Feb 09 12:30:48 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py	Sun Feb 09 15:11:14 2014 +0100
@@ -180,7 +180,8 @@
             if err:
                 self.__showError(err)
             elif self.mode != "incoming" or \
-                    os.path.exists(self.vcs.bundleFile):
+                (self.vcs.bundleFile and 
+                 os.path.exists(self.vcs.bundleFile)):
                 out, err = self.__hgClient.runcommand(args)
                 if err:
                     self.__showError(err)
@@ -203,7 +204,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