This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by martinvonz on Jan 29 2020, 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.