eric5.Plugins.VcsPlugins.vcsMercurial.HgRevisionSelectionDialog

Module implementing a dialog to select a revision.

Global Attributes

None

Classes

HgRevisionSelectionDialog Class implementing a dialog to select a revision.

Functions

None


HgRevisionSelectionDialog

Class implementing a dialog to select a revision.

Derived from

QDialog, Ui_HgRevisionSelectionDialog

Class Attributes

None

Methods

HgRevisionSelectionDialog Constructor
getRevision Public method to retrieve the selected revision.

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)
Up