78 rev = dlg.getRevision() |
78 rev = dlg.getRevision() |
79 |
79 |
80 if rev is not None: |
80 if rev is not None: |
81 if rev == "": |
81 if rev == "": |
82 rev = "tip" |
82 rev = "tip" |
83 args = [] |
83 args = self.vcs.initCommand("sigcheck") |
84 args.append("sigcheck") |
|
85 args.append(rev) |
84 args.append(rev) |
86 |
85 |
87 dia = HgDialog(self.tr('Verify Signatures'), self.vcs) |
86 dia = HgDialog(self.tr('Verify Signatures'), self.vcs) |
88 res = dia.startProcess(args, repodir) |
87 res = dia.startProcess(args, repodir) |
89 if res: |
88 if res: |
113 self.vcs.hgGetBranchesList(repodir), |
112 self.vcs.hgGetBranchesList(repodir), |
114 bookmarksList) |
113 bookmarksList) |
115 if dlg.exec_() == QDialog.Accepted: |
114 if dlg.exec_() == QDialog.Accepted: |
116 revision, noCommit, message, keyId, local, force = dlg.getData() |
115 revision, noCommit, message, keyId, local, force = dlg.getData() |
117 |
116 |
118 args = [] |
117 args = self.vcs.initCommand("sign") |
119 args.append("sign") |
|
120 if noCommit: |
118 if noCommit: |
121 args.append("--no-commit") |
119 args.append("--no-commit") |
122 if message: |
120 if message: |
123 args.append("--message") |
121 args.append("--message") |
124 args.append(message) |
122 args.append(message) |