eric5.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog

Module implementing a dialog to enter the revisions for the hg diff command.

Global Attributes

None

Classes

HgRevisionsSelectionDialog Class implementing a dialog to enter the revisions for the hg diff command.

Functions

None


HgRevisionsSelectionDialog

Class implementing a dialog to enter the revisions for the hg diff command.

Derived from

QDialog, Ui_HgRevisionsSelectionDialog

Class Attributes

None

Methods

HgRevisionsSelectionDialog Constructor
__getRevision Private method to generate the revision.
getRevisions Public method to get the revisions.

HgRevisionsSelectionDialog (Constructor)

HgRevisionsSelectionDialog(tagsList, branchesList, parent = None)

Constructor

tagsList
list of tags (list of strings)
branchesList
list of branches (list of strings)
parent
parent widget of the dialog (QWidget)

HgRevisionsSelectionDialog.__getRevision

__getRevision(no)

Private method to generate the revision.

no
revision number to generate (1 or 2)
Returns:
revision (string)

HgRevisionsSelectionDialog.getRevisions

getRevisions()

Public method to get the revisions.

Returns:
list two strings
Up