Bugfix: "rsync-dist-info.py -v -b" didnt't print versions no longer in use. default tip

Mon, 16 May 2022 12:17:56 +0200

author
Goetz.Pfeiffer@helmholtz-berlin.de
date
Mon, 16 May 2022 12:17:56 +0200
changeset 2445
c3cc6d783c58
parent 2444
cd42eaf7e67c

Bugfix: "rsync-dist-info.py -v -b" didnt't print versions no longer in use.
Ignore-this: 8cb21eca6cec5e443d6a5ee8bd2dcd7b63f69fac11fbea46f80f03b4dddb7e0c2d82b06799ec4394

lib/python/bii_scripts3/rsync_dist_lib.py file | annotate | diff | comparison | revisions
--- a/lib/python/bii_scripts3/rsync_dist_lib.py	Mon Mar 28 14:07:14 2022 +0200
+++ b/lib/python/bii_scripts3/rsync_dist_lib.py	Mon May 16 12:17:56 2022 +0200
@@ -1008,8 +1008,9 @@
                 last_date= sorted(datedict.keys())[-1]
                 names= sorted(datedict[last_date])
                 if not names:
-                    continue
-                lines.append("%-24s %s" % (ver, " ".join(names)))
+                    lines.append(ver)
+                else:
+                    lines.append("%-24s %s" % (ver, " ".join(names)))
             return "\n".join(lines)
         lines= ["ver. date                   name(s)"]
         first= True

mercurial