[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#897217: debian-policy: Vcs-Hg should support -b too



On Mon, 30 Apr 2018 09:55:03 +0200 Samuel Thibault
<sthibault@debian.org> wrote:
> Hello,
> 
> In 5.6.26, one can read about Vcs-<type>:
> 
> "In the case of Git, the value consists of a URL, optionally followed by
> the word -b the name of a branch in the indicated repository, following
> the syntax of the git clone command".
> 
> It would be useful to have the same for Hg, for instance:
> 
> "In the case of Git and Hg, the value consists of a URL, optionally
> followed by the word -b the name of a branch in the indicated
> repository, following the syntax of the git clone and hg clone
> commands".

Actually, with hg there’s not much need for this since the native hg URL
format supports specifying the branch to check out in a URL fragment:
https://server.org/path/to/repo#branch.

-- 
Cheers,
  Andrej


Reply to: