##// END OF EJS Templates
phabricator: include branch in the diffproperty metadata...
Ian Moody -
r42384:d49ab47b default
parent child Browse files
Show More
@@ -384,6 +384,7 b' def writediffproperties(ctx, diff):'
384 b'data': templatefilters.json({
384 b'data': templatefilters.json({
385 b'user': ctx.user(),
385 b'user': ctx.user(),
386 b'date': b'%d %d' % ctx.date(),
386 b'date': b'%d %d' % ctx.date(),
387 b'branch': ctx.branch(),
387 b'node': ctx.hex(),
388 b'node': ctx.hex(),
388 b'parent': ctx.p1().hex(),
389 b'parent': ctx.p1().hex(),
389 }),
390 }),
@@ -398,6 +399,7 b' def writediffproperties(ctx, diff):'
398 b'author': stringutil.person(ctx.user()),
399 b'author': stringutil.person(ctx.user()),
399 b'authorEmail': stringutil.email(ctx.user()),
400 b'authorEmail': stringutil.email(ctx.user()),
400 b'time': int(ctx.date()[0]),
401 b'time': int(ctx.date()[0]),
402 b'branch': ctx.branch(),
401 },
403 },
402 }),
404 }),
403 }
405 }
General Comments 0
You need to be logged in to leave comments. Login now