# HG changeset patch # User Franz Glasner # Date 1740748280 -3600 # Node ID 4a259fb9968ea39f74ca106b32ba3d1f6f709c9e # Parent 2695a76b663054926468e7a2eeb01f1a030a4eab treesum: Add the treesum version and revision to the full generator output diff -r 2695a76b6630 -r 4a259fb9968e cutils/treesum.py --- a/cutils/treesum.py Tue Feb 25 11:54:53 2025 +0100 +++ b/cutils/treesum.py Fri Feb 28 14:11:20 2025 +0100 @@ -500,9 +500,12 @@ self._writer.write_generator("PY2" if util.PY2 else "PY3") elif self._with_generator == "full": import platform - info = "%s %s, %s" % (platform.python_implementation(), - platform.python_version(), - platform.platform()) + info = ("treesum %s (rv:%s), %s %s, %s" + % (__version__, + __revision__, + platform.python_implementation(), + platform.python_version(), + platform.platform())) self._writer.write_generator(info) else: raise NotImplementedError(