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

# mercurial-pristinetar(1)

Recreate pristine source tarballs.

## NAME

mercurial-pristinetar - Recreate pristine source tarballs.

## SYNOPSIS

**mercurial-pristinetar** \[*option*\] ... \[*version*\]

## DESCRIPTION

Build pristine source tarballs from the Mercurial repository in the current directory.  If *version* is specified, then tarballs for that version is recreated instead of the most recent from from debian/changelog.

## OPTIONS

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

-

  Output version and exit.

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

-

  Increase verbosity level.  Can be used several times.

## EXAMPLES

**mercurial-pristinetar** 1.2.3

-

  Create pristine ../mypack\_1.2.3.orig.tar.{gz,bz2,lzma,xz} and ../mypack\_1.2.3.orig-component\*.tar.{gz,bz2,lzma,xz} if applicable from the repository in the current directory.

## BUGS

Generating tarballs compressed by [**lzma**(1)](/lzma/1.md) might not end up being identical to the original because the [**pristine-tar**(1)](/pristine-tar/1.md) suite does not have support for [**lzma**(1)](/lzma/1.md).

## AUTHOR

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

## SEE ALSO

[**pristine-gz**(1)](/pristine-gz/1.md), [**pristine-bz2**(1)](/pristine-bz2/1.md), [**pristine-xz**(1)](/pristine-xz/1.md), [**mercurial-importorig**(1)](/mercurial-importorig/1.md), [**mercurial-importdsc**(1)](/mercurial-importdsc/1.md), [**mercurial-buildpackage**(1)](/mercurial-buildpackage/1.md), [**mercurial-tagversion**(1)](/mercurial-tagversion/1.md), [**mercurial-port**(1)](/mercurial-port/1.md).
