martinvonz added inline comments.

INLINE COMMENTS

> martinvonz wrote in state.py:84
> If it's up to me, I'd definitely say that you should change it. I don't see 
> any benefits of the current proposal. I'd be happy to hear what other 
> reviewers think.

Oh, and I should clarify that I think the root of the problem is that you're 
mixing the class for reading with state itself (but only the top-level items of 
it). Let's say someone realizes they want to iterate over the items in the 
state, would we also add a .items() then? (I don't think that's a likely 
scenario, but it shows what I mean.)

REPOSITORY
  rHG Mercurial

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

To: pulkit, #hg-reviewers
Cc: martinvonz, indygreg, durin42, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to