Show More
@@ -911,8 +911,11 b' def getdiffmeta(diff):' | |||||
911 | commit[b'authorEmail']) |
|
911 | commit[b'authorEmail']) | |
912 | if b'time' in commit: |
|
912 | if b'time' in commit: | |
913 | meta[b'date'] = b'%d 0' % commit[b'time'] |
|
913 | meta[b'date'] = b'%d 0' % commit[b'time'] | |
914 |
if b' |
|
914 | if b'branch' in commit: | |
915 |
meta[b' |
|
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 | if len(commit.get(b'parents', ())) >= 1: |
|
919 | if len(commit.get(b'parents', ())) >= 1: | |
917 | meta[b'parent'] = commit[b'parents'][0] |
|
920 | meta[b'parent'] = commit[b'parents'][0] | |
918 | return meta or {} |
|
921 | return meta or {} |
General Comments 0
You need to be logged in to leave comments.
Login now