---
name: "mercurial-tagversion"
section: "1"
platform: "linux"
package: "mercurial-buildpackage"
version: "0.10.2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/mercurial-tagversion"
---

# mercurial-tagversion(1)

Tag the Mercurial package source with the most recent version from the changelog.

## NAME

mercurial-tagversion - Tag the Mercurial package source with the most recent version from the changelog.

## SYNOPSIS

**mercurial-tagversion** \[*option*\] ...

## DESCRIPTION

Extract the most recent version from **debian/changelog** and tag the Mercurial repository with that version.

## OPTIONS

**--version**, **-V**

-

  Output version and exit.

**--verbose**, **-v**

-

  Increase verbosity level.  Can be used several times.

**--ignore-uncommited**, **-i**

-

  Do not check for uncommited changes in the Mercurial repository.

**--force**, **-f**

-

  Overwrite existing tag, if any.

## AUTHOR

Jens Peter Secher \<jpsecher@gmail.com\>

## THANKS

The ideas for this package originates from John Goerzen's **hg-buildpackage**.

## SEE ALSO

[**mercurial-importorig**(1)](/mercurial-importorig/1.md), [**mercurial-importdsc**(1)](/mercurial-importdsc/1.md), [**mercurial-pristinetar**(1)](/mercurial-pristinetar/1.md), [**mercurial-buildpackage**(1)](/mercurial-buildpackage/1.md), [**mercurial-port**(1)](/mercurial-port/1.md).
