Page MenuHomePhabricator

mergestate: add accessors for local and other nodeid, not just contexts
ClosedPublic

Authored by martinvonz on Wed, Jan 29, 7:56 PM.

Details

Summary

The mergestate can contain invalid nodeids. In that case,
mergestate.localctx or mergestate.otherctx will fail. This patch
provides a way of accessing the nodeid without failing in such cases.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.