Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

changeset 207
3f889378dede
parent 204
61552f56788a
child 208
26ed553ad4fb
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Apr 25 18:06:50 2010 +0000
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Tue Apr 27 17:30:55 2010 +0000
@@ -14,6 +14,8 @@
     QApplication, QMessageBox, QCursor, QWidget, QLineEdit, QColor, QPixmap, \
     QPainter, QPen, QBrush, QIcon
 
+from E5Gui.E5Application import e5App
+
 from .Ui_HgLogBrowserDialog import Ui_HgLogBrowserDialog
 from .HgDiffDialog import HgDiffDialog
 
@@ -445,6 +447,12 @@
             args.append('--copies')
         args.append('--style')
         args.append(os.path.join(os.path.dirname(__file__), "styles", "logBrowser.style"))
+        if self.commandMode == "incoming":
+            project = e5App().getObject("Project")
+            self.vcs.bundleFile = os.path.join(
+                project.getProjectManagementDir(), "hg-bundle.hg")
+            args.append('--bundle')
+            args.append(self.vcs.bundleFile)
         if not self.projectMode:
             args.append(self.filename)
         

eric ide

mercurial