Mercurial > hg
comparison mercurial/dagparser.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 | f0b6fbea00cf |
children | e7aa113b14f7 |
comparison
equal
deleted
inserted
replaced
37124:6715e8035b4f | 37125:6f570c501e3e |
---|