mercurial-importdsc(1)
π mercurial-importdsc β the manual, but make it make sense π
okay bestie, pull up a chair π this is mercurial-importdsc(1), a User Commands situation, and it's literally about scooping an already-existing Debian source package into a Mercurial repo. no cap.
β¨ NAME β¨
mercurial-importdsc β import an existing package into a Mercurial repository. that's the whole vibe. π
πΈ SYNOPSIS πΈ
mercurial-importdsc [option] ... dscfile
π¦ DESCRIPTION π¦
so here's the tea: you've got a source package already, and you want it in a Mercurial repository. mercurial-importdsc does that. the diffs and the upstream sources get extracted from the contents of the .dsc file. π«Ά
then mercurial-importorig(1) gets called to import the upstream source into the upstream branch. that upstream branch gets merged into the default branch, and then the diffs are applied to the default branch. iconic behaviour, honestly. β¨
and yes, you can run mercurial-importdsc multiple times to import several versions β but β οΈ the versions must be imported sequentially, starting with the earliest version. don't try to skip ahead, it's giving chaos. π
π OPTIONS π
--version,-Vβ spits out the version and dips. that's it, that's the option. π--verbose,-vβ turns the verbosity up. you can stack this one, use it several times if you want maximum yapping. π₯
π EXAMPLES π
mercurial-importdsc ../mypack_1.2-3.dsc
okay so this one imports package mypack version 1.2-3 into the repository that's sitting in your current directory. and after the import? the repository will have the tags mypack_1.2 and mypack_1.2-3. tags on tags, we love to see it. πβ
π AUTHOR π
Jens Peter Secher <jpsecher@gmail.com> β the mastermind, the moment, the main character. π
π THANKS π
the ideas for this package originate from John Goerzen's hg-buildpackage. credit where credit is due, fr fr. π
π§ SEE ALSO π§
mercurial-importorig(1), mercurial-buildpackage(1), mercurial-tagversion(1), mercurial-pristinetar(1), mercurial-port(1).
iykyk β go read those next, bestie. πβ¨
ok and that's the whole page!! this wasmercurial-importdscversion0.10.1, datedDecember 2009(the footer's a lil truncated, D... and all, but we roll with it π ). love u, go import something. bye!! ππ¦πΈ
π¦ where this page comes from
- debian bookworm: mercurial-buildpackage 0.10.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms