[PATCH 0 of 3] improving version handling for nightly builds
Gilles Moris
gilles.moris at free.fr
Sun Aug 9 12:46:05 CDT 2009
This series of patch is dedicated to improve handling of nightly build, in
particular for mercurial.
- The first patch adds the {lasttag} and {lasttagdistance} templates.
No major changes except there is a specific function to compute the map of
rev to last tag. Following the advice of Greg, I also use the colon as a
separator between tags if there are several on the same changeset.
- The second patch adds either the tag(s) or fallback to the last tag of the
archived changeset.
- The last patch uses the first two to improve the version string at
installation.
So for a node "abcdef" which is 80 changeset after tag 1.3.1, hg version will
show: "abcdef (1.3.1+80)".
More information about the Mercurial-devel
mailing list