[PATCH 1 of 4] stack: use repo.revs() instead of revsetlang.formatspec() + scmutil.revrange()

Yuya Nishihara yuya at tcha.org
Mon Sep 23 08:53:06 EDT 2019


On Mon, 23 Sep 2019 10:39:49 +0700, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6 at dwimlabs.net>
> # Date 1569137636 -25200
> #      Sun Sep 22 14:33:56 2019 +0700
> # Node ID d81e537a421f78d9f1bf6b3bdf736977ad126f68
> # Parent  44be33cf7a5720f681fe902c83d8cc4aa1c26127
> # EXP-Topic stack-object
> stack: use repo.revs() instead of revsetlang.formatspec() + scmutil.revrange()

Queued this patch, thanks.

> diff --git a/mercurial/stack.py b/mercurial/stack.py
> --- a/mercurial/stack.py
> +++ b/mercurial/stack.py
> @@ -8,8 +8,6 @@
>  from __future__ import absolute_import
>  
>  from . import (
> -    revsetlang,
> -    scmutil,
>  )

Dropped an empty import, which is syntactically invalid.


More information about the Mercurial-devel mailing list