Only include new tags in changes

This commit is contained in:
Steven Joseph 2017-08-11 14:59:57 +10:00
parent 4b1df2f223
commit 2728e5d977

View file

@ -1322,10 +1322,9 @@ def latest(name,
])
if set(all_local_tags) != remote_tags:
has_remote_rev = False
ret['changes']['tags'] = {
'old': all_local_tags,
'new': list(remote_tags)
}
ret['changes']['new_tags'] = remote_tags.symmetric_difference(
all_local_tags
)
if not has_remote_rev:
try: