mercurial-importdsc(1)

mercurial-importdsc1

Import exiting package into mercurial repository.

Usage

mercurial-importdsc [option] ... dscfile

Overview

Import an existing source package into a Mercurial repository. The diffs and upstream sources are extracted from the contents of the .dsc file. mercurial-importorig(1) is called to import the upstream source into the upstream branch, which is then merged into the default branch, and the diffs are applied to the default branch. It is possible to use mercurial-importdsc multiple times to import several versions, but the versions must be imported sequentially starting with the earliest version.

Options

--version, -V

Output version and exit.

--verbose, -v

Increase verbosity level. Can be used several times.

Examples

mercurial-importdsc ../mypack_1.2-3.dsc

Import package mypack version 1.2-3 into the repository in the current directory. After the import, the repository will have the tags mypack_1.2 and mypack_1.2-3.

Thanks

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

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 9–12

Author

Jens Peter Secher <[email protected]>

From mercurial-buildpackage 0.10.2 in Debian 12 (Bookworm). Parsed by carta from the page's man source.