##// END OF EJS Templates
phabricator: read more metadata from local:commits...
Ian Moody -
r42386:c4d96f47 default
parent child Browse files
Show More
@@ -911,8 +911,11 b' def getdiffmeta(diff):'
911 911 commit[b'authorEmail'])
912 912 if b'time' in commit:
913 913 meta[b'date'] = b'%d 0' % commit[b'time']
914 if b'rev' in commit:
915 meta[b'node'] = commit[b'rev']
914 if b'branch' in commit:
915 meta[b'branch'] = commit[b'branch']
916 node = commit.get(b'commit', commit.get(b'rev'))
917 if node:
918 meta[b'node'] = node
916 919 if len(commit.get(b'parents', ())) >= 1:
917 920 meta[b'parent'] = commit[b'parents'][0]
918 921 return meta or {}
General Comments 0
You need to be logged in to leave comments. Login now