( )⚙ D10060 build: make version from .hg_archival.txt consistent with that from .hg/

This is an archive of the discontinued Mercurial Phabricator instance.

build: make version from .hg_archival.txt consistent with that from .hg/
ClosedPublic

Authored by martinvonz on Feb 23 2021, 3:43 PM.

Details

Summary

D9955 changed the version format to replace "-" by "." and to add "hg"
before the number representing the distance from the latest
tag. However, it missed the "hg" string and added an extra "." to the
version string we produce when there's a .hg_archival.txt. This
patch makes it consistent.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Feb 23 2021, 3:43 PM
martinvonz updated this revision to Diff 25803.Feb 23 2021, 3:57 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.