Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: riastradh
Date: Tue May 13 01:09:55 UTC 2025
Modified Files:
src: build.sh
Log Message:
build.sh: Clarify revisionid a little bit.
1. Put the CVS tag back -- this was lost in 1.393, and I suspect it
was unintentional (martin: feel free to correct me if my suspicion
is wrong and you really meant to nix the CVS tag).
2. Identify the revision control system in the commit id so you don't
have to wonder if you are just missing this changeset id or you're
mixing up git and hg.
3. Separate with spaces rather than hyphens so there is a chance to
parse this later -- tags/branches tend to allow hyphens but not
spaces. (If there's a reason not to use spaces, it's not clear to
me.)
Evenutally I would like to change this to an even more semantically
meaningful identifier, something like
hg identify -T '{latesttag}-{changessincelatesttag}{ifeq(phase,"public","","!{phase")}-hg-{id}{dirty}'
so it would come out as something like:
netbsd-11.99.3-121-hg-0123abcd4567ef
if this is a public commit on trunk with a clean working tree, or
netbsd-11.99.3-123!draft-hg-89ab01cd23ef45+
if this is a draft commit on trunk with a dirty working tree. But
for this to be useful we have to have the tags assigned, which is not
currently done in the ongoing conversion -- to be fixed in the final
migration.
To generate a diff of this commit:
cvs rdiff -u -r1.395 -r1.396 src/build.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index