hgpoll.py

changeset 147
4a72fb181a43
parent 146
c17b82b1f573
child 151
e24793fae424
equal deleted inserted replaced
146:c17b82b1f573 147:4a72fb181a43
121 author='author|person', 121 author='author|person',
122 date='date(date, "%A %d %B %Y %H:%M:%S")', 122 date='date(date, "%A %d %B %Y %H:%M:%S")',
123 email='author|email', 123 email='author|email',
124 message='desc') 124 message='desc')
125 125
126 if len (moredata) != 2:
127 raise HgProcessError ('Received invalid hg data while processing %s' % cset)
128
129 diffstat = repo.hg ('diff', '--change', cset, '--stat') 126 diffstat = repo.hg ('diff', '--change', cset, '--stat')
130 127
131 try: 128 try:
132 ticket_data = Bt.get_issue (ticket_id) 129 ticket_data = Bt.get_issue (ticket_id)
133 except Exception as e: 130 except Exception as e:

mercurial