mercurial-importdsc(1)

πŸ“¦ version 0.10.2, in debian bookworm

πŸ’– 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 was mercurial-importdsc version 0.10.1, dated December 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