eric5.Plugins.VcsPlugins.vcsMercurial.HgRevisionSelectionDialog
Module implementing a dialog to select a revision.
Global Attributes
Classes
Functions
HgRevisionSelectionDialog
Class implementing a dialog to select a revision.
Derived from
QDialog, Ui_HgRevisionSelectionDialog
Class Attributes
Methods
HgRevisionSelectionDialog (Constructor)
HgRevisionSelectionDialog(tagsList, branchesList, showNone = False, parent = None)
Constructor
- tagsList
-
list of tags (list of strings)
- branchesList
-
list of branches (list of strings)
- showNone
-
flag influencing the label of the 'None' selection (boolean)
- parent
-
parent widget (QWidget)
HgRevisionSelectionDialog.getRevision
getRevision()
Public method to retrieve the selected revision.
- Returns:
-
tuple naming the revision and a flag indicating a
forced merge (string, boolean)