This is an archive of the discontinued Mercurial Phabricator instance.

rust-core: extracted a revlog submodule
ClosedPublic

Authored by gracinet on Jan 2 2020, 1:20 PM.

Details

Summary

This moves fundamental definitions from the top of the crate
to the newly created revlog submodule and reexports them for
easy compatibility.

As we are about to add new features to this crate, we felt it
will improve clarity, and moreso if ancestors and dagops
would become submodules of revlog.

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

gracinet created this revision.Jan 2 2020, 1:20 PM
Alphare added a subscriber: Alphare.Jan 3 2020, 4:43 AM

Since there is no newline at the end of revlog.rs, I can assume rustfmt would be unhappy about this patch. Maybe I'm wrong? Otherwise, the patch looks good, hg-core needs a refactor.

Alphare accepted this revision.Jan 3 2020, 5:41 AM

It appears that the phabricator UI does not show the last line, so everything is fine.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.