--- a/Plugins/VcsPlugins/vcsMercurial/hg.py Fri Sep 02 08:35:45 2011 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Sat Sep 03 16:41:44 2011 +0200 @@ -719,9 +719,15 @@ @param name file/directory name to show the log of (string) """ - self.log = HgLogDialog(self) - self.log.show() - self.log.start(name) + noEntries, ok = QInputDialog.getInteger( + None, + self.trUtf8("Mercurial Log"), + self.trUtf8("Select number of entries to show."), + self.getPlugin().getPreferences("LogLimit"), 1, 999999, 1) + if ok: + self.log = HgLogDialog(self) + self.log.show() + self.log.start(name, noEntries) def vcsDiff(self, name): """ @@ -1493,23 +1499,6 @@ self.diff.show() self.diff.start(name, revisions) - def hgLogLimited(self, name): - """ - Public method used to view the (limited) log of a file/directory from the - Mercurial repository. - - @param name file/directory name to show the log of (string) - """ - noEntries, ok = QInputDialog.getInteger( - None, - self.trUtf8("Mercurial Log"), - self.trUtf8("Select number of entries to show."), - self.getPlugin().getPreferences("LogLimit"), 1, 999999, 1) - if ok: - self.log = HgLogDialog(self) - self.log.show() - self.log.start(name, noEntries) - def hgLogBrowser(self, path): """ Public method used to browse the log of a file/directory from the