( )⚙ D12544 rust-nodemap-docket: move check of nodemap requirement to caller

This is an archive of the discontinued Mercurial Phabricator instance.

rust-nodemap-docket: move check of nodemap requirement to caller
AcceptedPublic

Authored by martinvonz on Wed, Apr 13, 9:10 AM.

Details

Reviewers
Alphare
Group Reviewers
hg-reviewers
Summary

I think it's cleaner if NodeMapDocket doesn't know about the Repo
type. That makes it more easily reusable and testable. This patch
moves out one of the uses of Repo out of it.

Diff Detail

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

Event Timeline

martinvonz created this revision.Wed, Apr 13, 9:10 AM
Alphare accepted this revision.Thu, Apr 14, 4:54 AM
This revision is now accepted and ready to land.Thu, Apr 14, 4:54 AM