Patchwork obsolete: add a note that explains creating aliases for marker flags

login
register
mail settings
Submitter Anton Shestakov
Date March 20, 2018, 10:15 a.m.
Message ID <6ee52d3b6bd4b86a6879.1521540959@neuro>
Download mbox | patch
Permalink /patch/29673/
State Accepted
Headers show

Comments

Anton Shestakov - March 20, 2018, 10:15 a.m.
# HG changeset patch
# User Anton Shestakov <av6@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
Boris FELD - March 20, 2018, 12:20 p.m.
LGTM


On 20/03/2018 11:15, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6@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@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
Pulkit Goyal - March 20, 2018, 12:48 p.m.
On Tue, Mar 20, 2018 at 3:45 PM, Anton Shestakov <av6@dwimlabs.net> wrote:
> # HG changeset patch
> # User Anton Shestakov <av6@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

Queued this many thanks.

Patch

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