2766 dia = HgDialog(self.tr('Rollback last transaction'), self) |
2766 dia = HgDialog(self.tr('Rollback last transaction'), self) |
2767 res = dia.startProcess(["rollback"], repodir) |
2767 res = dia.startProcess(["rollback"], repodir) |
2768 if res: |
2768 if res: |
2769 dia.exec_() |
2769 dia.exec_() |
2770 |
2770 |
|
2771 # TODO: add support for hg update --clean to revert a failed/aborted merge |
|
2772 |
2771 def hgServe(self, name): |
2773 def hgServe(self, name): |
2772 """ |
2774 """ |
2773 Public method used to serve the project. |
2775 Public method used to serve the project. |
2774 |
2776 |
2775 @param name directory name (string) |
2777 @param name directory name (string) |