From 1ab03fe9d2c43153db0f99855f9b5fe1d5584098 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Tue, 8 Jan 2008 10:51:01 -0700 Subject: [PATCH] setup: update in-line doc of get-version.py --- misc/get-version.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/get-version.py b/misc/get-version.py index 39c81c82..f5810676 100644 --- a/misc/get-version.py +++ b/misc/get-version.py @@ -2,11 +2,11 @@ """Determine the version number of the current tree. -This should be run *after* make-version.py . It will emit a single line of -text to stdout, either of the form '0.2.0' if this is a release tree (i.e. no -patches have been added since the last release tag), or '0.2.0-34' (if 34 -patches have been added since the last release tag). If the tree does not -have a well-formed version number, this will emit 'unknown'. +This should be run after 'setup.py darcsver'. It will emit a single line of text +to stdout, either of the form '0.2.0' if this is a release tree (i.e. no patches +have been added since the last release tag), or '0.2.0-34' (if 34 patches have +been added since the last release tag). If the tree does not have a well-formed +version number, this will emit 'unknown'. The version string thus calculated should exactly match the version string determined by setup.py (when it creates eggs and source tarballs) and also -- 2.45.2