hgext/phabricator.py
changeset 42189 c0e30c9ee5ba
parent 42188 289d82a070e9
child 42198 d49ab47be8a6
equal deleted inserted replaced
42188:289d82a070e9 42189:c0e30c9ee5ba
   395         b'name': b'local:commits',
   395         b'name': b'local:commits',
   396         b'data': templatefilters.json({
   396         b'data': templatefilters.json({
   397             ctx.hex(): {
   397             ctx.hex(): {
   398                 b'author': stringutil.person(ctx.user()),
   398                 b'author': stringutil.person(ctx.user()),
   399                 b'authorEmail': stringutil.email(ctx.user()),
   399                 b'authorEmail': stringutil.email(ctx.user()),
   400                 b'time': b'%d' % ctx.date()[0],
   400                 b'time': int(ctx.date()[0]),
   401             },
   401             },
   402         }),
   402         }),
   403     }
   403     }
   404     callconduit(ctx.repo(), b'differential.setdiffproperty', params)
   404     callconduit(ctx.repo(), b'differential.setdiffproperty', params)
   405 
   405