This is an archive of the discontinued Mercurial Phabricator instance.

rust: Fold find_root and check_requirements into Repo::find
ClosedPublic

Authored by SimonSapin on Jan 28 2021, 2:40 PM.

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.

Event Timeline

SimonSapin created this revision.Jan 28 2021, 2:40 PM
Alphare added inline comments.
tests/test-rhg.t
25

This is wrong: we're supposed to conform to the Mercurial UI as much as possible. Possibly we should update the message to also say or its ancestors, but that's for a separate patch.

Alphare requested changes to this revision.Jan 29 2021, 9:26 AM
This revision now requires changes to proceed.Jan 29 2021, 9:26 AM
Alphare accepted this revision.Jan 29 2021, 6:07 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.
rust/hg-core/src/config/config.rs