Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

changeset 1906
8487f9c2533b
parent 1637
b60eb2fdbaea
child 2223
054c285dab38
diff -r 7ad9161c5293 -r 8487f9c2533b Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sat Jun 16 18:28:31 2012 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Jun 17 13:34:46 2012 +0200
@@ -634,6 +634,8 @@
             args.append(str(self.limitSpinBox.value()))
         if self.commandMode in ("incoming", "outgoing"):
             args.append("--newest-first")
+            if self.vcs.hasSubrepositories():
+                args.append("--subrepos")
         if startRev is not None:
             args.append('--rev')
             args.append('{0}:0'.format(startRev))
@@ -656,7 +658,7 @@
         if self.commandMode == "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