[PATCH 02 of 16] rebase: move target local variable to an object

timeless timeless at gmail.com
Sun May 29 19:00:51 EDT 2016


Kostia Balytskyi wrote:
> rebase: move target local variable to an object

... to the {x object|class}


> diff --git a/hgext/rebase.py b/hgext/rebase.py
> --- a/hgext/rebase.py
> +++ b/hgext/rebase.py
> @@ -127,9 +127,9 @@
>          # Mapping between the old revision id and either what is the new rebased
>          # revision or what needs to be done with the old revision. The state
>          # dict will be what contains most of the rebase progress state.
> -
I'd rather this line just not appear i the previous patch

>          self.state = {}
>          self.activebookmark = None
> +        self.target = None


More information about the Mercurial-devel mailing list