13 from PyQt5.QtWidgets import QDialog, QDialogButtonBox |
13 from PyQt5.QtWidgets import QDialog, QDialogButtonBox |
14 |
14 |
15 from .Ui_HgGraftDialog import Ui_HgGraftDialog |
15 from .Ui_HgGraftDialog import Ui_HgGraftDialog |
16 |
16 |
17 |
17 |
|
18 # TODO: Mercurial 4.7: add support for the --no-commit flag |
18 class HgGraftDialog(QDialog, Ui_HgGraftDialog): |
19 class HgGraftDialog(QDialog, Ui_HgGraftDialog): |
19 """ |
20 """ |
20 Class implementing a dialog to enter the data for a graft session. |
21 Class implementing a dialog to enter the data for a graft session. |
21 """ |
22 """ |
22 def __init__(self, vcs, revs=None, parent=None): |
23 def __init__(self, vcs, revs=None, parent=None): |