# HG changeset patch # User Claus Gittinger # Date 1417226730 -3600 # Node ID 576a064f048e1d9800c9572584f45aff453d798b # Parent ce825c324ef75d37e49d8404169c61e875b05981 class: VersionInfo added: #symbolicVersionName diff -r ce825c324ef7 -r 576a064f048e VersionInfo.st --- a/VersionInfo.st Fri Nov 28 20:39:13 2014 +0100 +++ b/VersionInfo.st Sat Nov 29 03:05:30 2014 +0100 @@ -153,6 +153,17 @@ revision := something. ! +symbolicVersionName + "iff that source code manager uses cryptic names for versions, + (eg. dbManager, git and hg managers), we may add an additional symbolic + version name, which is used for human readers (and not required to be unique). + Usually something like x.y-nn, where nn is the user name is returned there. + Here, we return the revision proper, which is ok for cvs, svn and others with a + user-friendly version number." + + ^ revision +! + time ^ time ! @@ -186,7 +197,11 @@ !VersionInfo class methodsFor:'documentation'! +version + ^ '$Header: /cvs/stx/stx/libbasic3/VersionInfo.st,v 1.9 2014-11-29 02:05:30 cg Exp $' +! + version_CVS - ^ '$Header: /cvs/stx/stx/libbasic3/VersionInfo.st,v 1.8 2014-11-28 17:28:19 cg Exp $' + ^ '$Header: /cvs/stx/stx/libbasic3/VersionInfo.st,v 1.9 2014-11-29 02:05:30 cg Exp $' ! !