sapling/tests/copytrace.sh
Stanislau Hlebik 9e8ca3ae43 copytrace: use filename heuristics to quickly find moves
Summary:
Copytracing that is based on a simple idea: most moves are either directory
moves or moves of the file inside the same directory. That means that either
basename of the moved file or the dirname of the moved file is the same.
More details in the comments.

Test Plan: Run unit-tests

Reviewers: #mercurial, durham, quark, rmcelroy

Reviewed By: quark, rmcelroy

Subscribers: mjpieters, #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D5137372

Tasks: 18508761

Signature: t1:5137372:1496243148:8d229c1593da196b674318ee8b37af15a60831c8
2017-06-01 04:39:27 -07:00

11 lines
164 B
Bash

function initclient() {
cat >> $1/.hg/hgrc <<EOF
[copytrace]
remote = False
enablefilldb = True
fastcopytrace = True
[experimental]
disablecopytrace = True
EOF
}