75 self.message = value |
75 self.message = value |
76 def __str__ (self): |
76 def __str__ (self): |
77 return self.message |
77 return self.message |
78 |
78 |
79 def announce_ticket_resolved (ticket_id, commit_node): |
79 def announce_ticket_resolved (ticket_id, commit_node): |
|
80 ticket_id = int (ticket_id) |
|
81 |
80 try: |
82 try: |
81 repo_name = 'zandronum-stable' |
83 repo_name = 'zandronum-stable' |
82 zanrepo = hgapi.Repo (repo_name) |
84 zanrepo = hgapi.Repo (repo_name) |
83 zanrepo.hg_command ('log', '-r', commit_node) |
85 zanrepo.hg_command ('log', '-r', commit_node) |
84 except hgapi.hgapi.HgException: |
86 except hgapi.hgapi.HgException: |