mod_hgpoll.py

changeset 82
c6e853703ca8
parent 80
0f6bfd359a7f
child 87
9e757b602586
equal deleted inserted replaced
81:ce5d27463356 82:c6e853703ca8
71 node = data[0] 71 node = data[0]
72 message = data[1] 72 message = data[1]
73 author = data[2] 73 author = data[2]
74 diffstat = data[3] 74 diffstat = data[3]
75 date = datetime.utcfromtimestamp (int (data[4].split (' ')[0])) 75 date = datetime.utcfromtimestamp (int (data[4].split (' ')[0]))
76 delta = datetime.now() - date 76 delta = datetime.utcnow() - date
77 datestring = '' 77 datestring = ''
78 78
79 # Find out the Zandronum version of this changeset 79 # Find out the Zandronum version of this changeset
80 repo.hg_command ('revert', '-r', node, 'src/version.h') 80 repo.hg_command ('revert', '-r', node, 'src/version.h')
81 zanversion = '<unknown zandronum version>' 81 zanversion = '<unknown zandronum version>'

mercurial