This is an archive of the discontinued Mercurial Phabricator instance.

upgrade: move most of revlog.clone method into a _clone method
ClosedPublic

Authored by marmoute on Sep 27 2019, 4:22 PM.

Details

Summary

The content of the clone method now focus on parameters validation and
processing. The _clone method focus on the actual cloning logic.

Splitting the method out save some indentation and clarify each method code
since it a focussed on one goal.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped