47 |
47 |
48 message = "" |
48 message = "" |
49 if not revisions: |
49 if not revisions: |
50 from .HgCloseHeadSelectionDialog import HgCloseHeadSelectionDialog |
50 from .HgCloseHeadSelectionDialog import HgCloseHeadSelectionDialog |
51 dlg = HgCloseHeadSelectionDialog(self.vcs, name) |
51 dlg = HgCloseHeadSelectionDialog(self.vcs, name) |
52 if dlg.exec_() == QDialog.Accepted: |
52 if dlg.exec() == QDialog.Accepted: |
53 revisions, message = dlg.getData() |
53 revisions, message = dlg.getData() |
54 |
54 |
55 if not revisions: |
55 if not revisions: |
56 # still no revisions given; abort... |
56 # still no revisions given; abort... |
57 return |
57 return |