Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py

changeset 1906
8487f9c2533b
parent 1746
6c74208f22a2
child 2302
f29e9405c851
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py	Sat Jun 16 18:28:31 2012 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py	Sun Jun 17 13:34:46 2012 +0200
@@ -128,6 +128,8 @@
             args.append(str(noEntries))
         if self.mode in ("incoming", "outgoing"):
             args.append("--newest-first")
+            if self.vcs.hasSubrepositories():
+                args.append("--subrepos")
         if self.mode == "log":
             args.append('--copies')
         args.append('--style')
@@ -143,7 +145,7 @@
         if self.mode == "incoming":
             if self.bundle:
                 args.append(self.bundle)
-            else:
+            elif not self.vcs.hasSubrepositories():
                 project = e5App().getObject("Project")
                 self.vcs.bundleFile = os.path.join(
                     project.getProjectManagementDir(), "hg-bundle.hg")

eric ide

mercurial