Mercurial > hg
comparison hgext/__init__.py @ 37125:6f570c501e3e
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 05 Mar 2018 00:30:00 -0500 |
parents | 155e3308289c |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
37124:6715e8035b4f | 37125:6f570c501e3e |
---|