This is an archive of the discontinued Mercurial Phabricator instance.

prefetch: refactor out resolving opts
ClosedPublic

Authored by singhsrb on Nov 14 2017, 3:43 PM.
Tags
None
Subscribers

Details

Reviewers
durham
Group Reviewers
Restricted Project
Commits
rFBHGX2ea43d4c7b5b: prefetch: refactor out resolving opts
Summary

The prefetch command performs a preprocessing of the options before
doing the actual work. This commit just separates out that logic.

Test Plan

Ran all the tests.

Diff Detail

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

Event Timeline

singhsrb created this revision.Nov 14 2017, 3:43 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 14 2017, 3:43 PM
singhsrb added a comment.EditedNov 14 2017, 3:50 PM

This is only an intermediate step to help out with the review. It might be useful to checkout D1417 first to get an idea of what this leads to.

durham accepted this revision.Nov 14 2017, 7:21 PM
durham added a subscriber: durham.
durham added inline comments.
remotefilelog/__init__.py
955

Maybe add a comment describing what this function does, since it's not clear from the name and the contents are a little dense.

This revision is now accepted and ready to land.Nov 14 2017, 7:21 PM
This revision was automatically updated to reflect the committed changes.