D7594: status: add template/json data about whether a file has unresolved conflicts

rdamazio (Rodrigo Damazio Bovendorp) phabricator at mercurial-scm.org
Wed Dec 11 16:38:44 EST 2019


rdamazio added inline comments.

INLINE COMMENTS

> martinvonz wrote in cmdutil.py:792
> That's an O(n) lookup. Probably fine since you very rarely have thousands of conflicts...

Yes, I thought of storing it as a set, but then thought that it either didn't matter or would be slower because there are so few items.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7594/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7594

To: rdamazio, #hg-reviewers, pulkit
Cc: martinvonz, mercurial-devel


More information about the Mercurial-devel mailing list