From ef4c583b3f10e6dbdb234784fa45340711b941b1 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 29 Feb 2016 23:55:36 -0500 Subject: [PATCH] fix printing of versions with no changes --- tools/git2debcl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/git2debcl b/tools/git2debcl index 27ad585f..707ced08 100755 --- a/tools/git2debcl +++ b/tools/git2debcl @@ -113,9 +113,13 @@ def main(): tag = tags[0] for prev in tags[1:]: + lines = git_log(tag[1],prev[1]) + if lines == ['']: + tag = prev + continue + print('%s (%s) %s; urgency=%s\n' % (args.name,tag[0],args.codename,args.urgency)) - lines = git_log(tag[1],prev[1]) for line in lines: print " * " + line