This is an archive of the discontinued Mercurial Phabricator instance.

copies: define a type to return from mergecopies()
ClosedPublic

Authored by martinvonz on Jan 24 2020, 5:01 PM.

Details

Summary

We'll soon return two instances of many of the dicts from
copies.mergecopies(). That will mean that we need to return 9
different dicts, which is clearly not manageable. This patch instead
encapsulates the 4 dicts we'll duplicate in a new type. For now, we
still just return one instance of it (plus the separate diverge
dict).

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

martinvonz created this revision.Jan 24 2020, 5:01 PM
martinvonz updated this revision to Diff 19582.Jan 24 2020, 6:34 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.