hgpoll.py

changeset 90
4bd3abd5525b
parent 89
ec70a118f6cd
child 91
60ead38a61af
equal deleted inserted replaced
89:ec70a118f6cd 90:4bd3abd5525b
99 raise HgProcessError ('malformed hg data while processing %s' % commit_node) 99 raise HgProcessError ('malformed hg data while processing %s' % commit_node)
100 100
101 commit_author = moredata[0] 101 commit_author = moredata[0]
102 commit_date = moredata[1] 102 commit_date = moredata[1]
103 commit_email = "" 103 commit_email = ""
104 commit_message = zanrepo.hg_command ('log', '-r', commit_node, '--template', '{desc}')
104 105
105 try: 106 try:
106 ticket_data = Bt.get_issue (ticket_id) 107 ticket_data = Bt.get_issue (ticket_id)
107 except Exception as e: 108 except Exception as e:
108 raise HgProcessError ("error while processing %s: %s" % (commit_node, e)) 109 raise HgProcessError ("error while processing %s: %s" % (commit_node, e))

mercurial