eric6/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

changeset 7900
72b88fb20261
parent 7836
2f0d208b8137
child 7923
91e843545d9a
equal deleted inserted replaced
7899:ecf67e07b6e0 7900:72b88fb20261
958 def __getLogEntries(self, startRev=None, noEntries=0): 958 def __getLogEntries(self, startRev=None, noEntries=0):
959 """ 959 """
960 Private method to retrieve log entries from the repository. 960 Private method to retrieve log entries from the repository.
961 961
962 @param startRev revision number to start from (integer, string) 962 @param startRev revision number to start from (integer, string)
963 @keyparam noEntries number of entries to get (0 = default) (int) 963 @param noEntries number of entries to get (0 = default) (int)
964 """ 964 """
965 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) 965 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
966 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) 966 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True)
967 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) 967 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
968 QApplication.processEvents() 968 QApplication.processEvents()
1053 def start(self, fn, bundle=None, isFile=False, noEntries=0): 1053 def start(self, fn, bundle=None, isFile=False, noEntries=0):
1054 """ 1054 """
1055 Public slot to start the hg log command. 1055 Public slot to start the hg log command.
1056 1056
1057 @param fn filename to show the log for (string) 1057 @param fn filename to show the log for (string)
1058 @keyparam bundle name of a bundle file (string) 1058 @param bundle name of a bundle file (string)
1059 @keyparam isFile flag indicating log for a file is to be shown 1059 @param isFile flag indicating log for a file is to be shown
1060 (boolean) 1060 (boolean)
1061 @keyparam noEntries number of entries to get (0 = default) (int) 1061 @param noEntries number of entries to get (0 = default) (int)
1062 """ 1062 """
1063 self.__bundle = bundle 1063 self.__bundle = bundle
1064 self.__isFile = isFile 1064 self.__isFile = isFile
1065 1065
1066 if self.initialCommandMode == "full_log": 1066 if self.initialCommandMode == "full_log":

eric ide

mercurial