20 def __init__(self, vcs, revs=None, parent=None): |
20 def __init__(self, vcs, revs=None, parent=None): |
21 """ |
21 """ |
22 Constructor |
22 Constructor |
23 |
23 |
24 @param vcs reference to the VCS object (Hg) |
24 @param vcs reference to the VCS object (Hg) |
25 @param revs list of revisions to show in the revisions pane (list of strings) |
25 @param revs list of revisions to show in the revisions pane (list of |
|
26 strings) |
26 @param parent reference to the parent widget (QWidget) |
27 @param parent reference to the parent widget (QWidget) |
27 """ |
28 """ |
28 super().__init__(parent) |
29 super().__init__(parent) |
29 self.setupUi(self) |
30 self.setupUi(self) |
30 |
31 |
93 @return tuple with list of revisions, a tuple giving a |
94 @return tuple with list of revisions, a tuple giving a |
94 flag indicating to set the user, a flag indicating to use the |
95 flag indicating to set the user, a flag indicating to use the |
95 current user and the user name, another tuple giving a flag |
96 current user and the user name, another tuple giving a flag |
96 indicating to set the date, a flag indicating to use the |
97 indicating to set the date, a flag indicating to use the |
97 current date and the date, a flag indicating to append graft info |
98 current date and the date, a flag indicating to append graft info |
98 to the log message and a flag indicating a dry-run (list of strings, |
99 to the log message and a flag indicating a dry-run (list of |
99 (boolean, boolean, string), (boolean, boolean, string), boolean, |
100 strings, (boolean, boolean, string), (boolean, boolean, string), |
100 boolean) |
101 boolean, boolean) |
101 """ |
102 """ |
102 userData = (self.userGroup.isChecked(), |
103 userData = (self.userGroup.isChecked(), |
103 self.currentUserCheckBox.isChecked(), |
104 self.currentUserCheckBox.isChecked(), |
104 self.userEdit.text()) |
105 self.userEdit.text()) |
105 dateData = (self.dateGroup.isChecked(), |
106 dateData = (self.dateGroup.isChecked(), |