[PATCH 2 of 3 V2] revset: allow to parse single integer as a range

Yuya Nishihara yuya at tcha.org
Fri Feb 1 08:26:46 EST 2019


On Fri, 01 Feb 2019 22:23:37 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1548563325 -32400
> #      Sun Jan 27 13:28:45 2019 +0900
> # Node ID a72c5cfe7b8da68563a1fb07d1477a9804d28d74
> # Parent  1502f467006b95eb15b3f51ab5dc4c1d5a53a90f
> revset: allow to parse single integer as a range

>      a, b = getrange(x, err1)
>      return getinteger(a, err2, deffirst), getinteger(b, err2, deflast)
>  
> +
>  def getargs(x, min, max, err):

Merge error. I'll send V3 soon. Sorry for the noise.


More information about the Mercurial-devel mailing list