This is a concept of adding a line in .hg_archival.txt to store the tags. This enables to get the version tag from an archive. mercurial/archival.py | 13 ++++++++++--- setup.py | 5 +++-- 2 files changed, 13 insertions(+), 5 deletions(-)