merge: deprecate accessing update results by index
Now that we have named attributes, let's convert the code base to use them. We also add deprecation warnings so legacy consumers are aware of their transgressions. ``stats.unresolvedcount`` is much easier to read than ``stats[3]``, don't you think? Differential Revision: https://phab.mercurial-scm.org/D2694
Showing
- hgext/histedit.py 1 addition, 1 deletionhgext/histedit.py
- hgext/rebase.py 1 addition, 1 deletionhgext/rebase.py
- mercurial/commands.py 2 additions, 2 deletionsmercurial/commands.py
- mercurial/hg.py 6 additions, 6 deletionsmercurial/hg.py
- mercurial/merge.py 10 additions, 1 deletionmercurial/merge.py
Loading
Please register or sign in to comment