D2693: histedit: always define update results

2018-03-24 Thread indygreg (Gregory Szorc)
indygreg marked an inline comment as done. indygreg added inline comments. INLINE COMMENTS > martinvonz wrote in histedit.py:492 > remove the "stats and" now? This is done in the next commit :) REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2693 To: indygreg,

D2693: histedit: always define update results

2018-03-21 Thread martinvonz (Martin von Zweigbergk)
martinvonz accepted this revision. martinvonz added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > histedit.py:492 > repo.dirstate.setbranch(rulectx.branch()) > if stats and stats[3] > 0: > buf = repo.ui.popbuffer() remove the

D2693: histedit: always define update results

2018-03-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Before, we had a branch that could return None for the update stats. Let's just return an updateresult instance instead.