This is an archive of the discontinued Mercurial Phabricator instance.

copytrace: move the full copytracing algorithm under 'full' option
AbandonedPublic

Authored by pulkit on Sep 4 2017, 6:56 PM.

Details

Reviewers
yuja
Group Reviewers
hg-reviewers
Summary

This patch adds a possible value for experimental.copytrace which is full,
using which the user can use fullcopytracing algorithm.

But, this patch does not removes experimental.copytrace=on which also defaults
to the full copytracing algorithm. So after this patch, we have two config
values which does the same thing but on is there as a lot of users will try to
use it since it's opposite of 'off'.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Sep 4 2017, 6:56 PM
yuja requested changes to this revision.Sep 6 2017, 10:22 AM
yuja added a subscriber: yuja.
yuja added inline comments.
mercurial/copies.py
376

This should either abort or fall back to the default copy tracing.
Returning None doesn't make sense.

This revision now requires changes to proceed.Sep 6 2017, 10:22 AM
pulkit abandoned this revision.Sep 7 2017, 7:46 AM
pulkit added inline comments.
mercurial/copies.py
376

Falling back to default copytracing make sense. I am dropping this revision as that's already the case in this series without this patch.