[PATCH] obsolete: add a note that explains creating aliases for marker flags

Feld Boris lothiraldan at gmail.com
Tue Mar 20 08:20:23 EDT 2018


LGTM


On 20/03/2018 11:15, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6 at dwimlabs.net>
> # Date 1521526325 -28800
> #      Tue Mar 20 14:12:05 2018 +0800
> # Node ID 6ee52d3b6bd4b86a68799cc969035cd0fd77ffe5
> # Parent  e349ad5cbb7195607a300439a12a5316795125f8
> obsolete: add a note that explains creating aliases for marker flags
>
> diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
> --- a/mercurial/obsolete.py
> +++ b/mercurial/obsolete.py
> @@ -148,6 +148,8 @@ def isenabled(repo, option):
>   
>       return _getoptionvalue(repo, option)
>   
> +# Creating aliases for marker flags because evolve extension looks for
> +# bumpedfix in obsolete.py
>   bumpedfix = obsutil.bumpedfix
>   usingsha256 = obsutil.usingsha256
>   
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list