Fixed an issue introduced by the last change to Mercurial log browser and dialog.

Sun, 25 Apr 2010 15:22:11 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 25 Apr 2010 15:22:11 +0000
changeset 204
61552f56788a
parent 203
0bd3912f3c5f
child 205
e5f10cf7fdc9

Fixed an issue introduced by the last change to Mercurial log browser and dialog.

Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Apr 25 15:03:41 2010 +0000
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Apr 25 15:22:11 2010 +0000
@@ -441,7 +441,8 @@
            not self.fname == "." and \
            not self.stopCheckBox.isChecked():
             args.append('--follow')
-        args.append('--copies')
+        if self.commandMode == "log":
+            args.append('--copies')
         args.append('--style')
         args.append(os.path.join(os.path.dirname(__file__), "styles", "logBrowser.style"))
         if not self.projectMode:
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py	Sun Apr 25 15:03:41 2010 +0000
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py	Sun Apr 25 15:22:11 2010 +0000
@@ -112,7 +112,8 @@
         if noEntries:
             args.append('--limit')
             args.append(str(noEntries))
-        args.append('--copies')
+        if self.mode == "log":
+            args.append('--copies')
         args.append('--style')
         args.append(os.path.join(os.path.dirname(__file__), "styles", "logDialog.style"))
         if self.fname != "." or self.dname != repodir:

eric ide

mercurial