On Thu, Jan 24, 2019 at 05:05:07PM +0100, Chris Lamb wrote: > Policy §5.6.26 permits "-b" only in the case of Vcs-Git: [...] > However, Mercurial (ie. "Vcs-Hg") supports this too in its > equivalent "hg clone" command. This change was triggered via > #920314 in Lintian. > > A simple patch (also attached) might be: > > commit 3e66c9e470053fcc77169efa82833252971d211c > Author: Chris Lamb <la...@debian.org> > Date: Thu Jan 24 16:55:21 2019 +0100 > > Permit branch specifications ("-b") in Mercurial Vcs-Hg headers too, > not just Vcs-Git. (Closes: #-1) > > diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst > index 44080c9..013aae4 100644 > --- a/policy/ch-controlfields.rst > +++ b/policy/ch-controlfields.rst > @@ -973,10 +973,11 @@ repository where the Debian source package is > developed. > - Mtn (Monotone) > - Svn (Subversion) > > - In the case of Git, the value consists of a URL, optionally followed > - by the word ``-b`` and the name of a branch in the indicated > - repository, following the syntax of the ``git clone`` command. If no > - branch is specified, the packaging should be on the default branch. > + In the case of Git and Mercurial, the value consists of a URL, > + optionally followed by the word ``-b`` and the name of a branch in > + the indicated repository, following the syntax of the ``git clone`` > + or ``hg clone`` command. If no branch is specified, the packaging > + should be on the default branch.
seconded. > Thank you for maintaining Policy. seconded too! :) -- tschüß, Holger ------------------------------------------------------------------------------- holger@(debian|reproducible-builds|layer-acht).org PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
signature.asc
Description: PGP signature