mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
9e8ca3ae43
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
11 lines
164 B
Bash
11 lines
164 B
Bash
function initclient() {
|
|
cat >> $1/.hg/hgrc <<EOF
|
|
[copytrace]
|
|
remote = False
|
|
enablefilldb = True
|
|
fastcopytrace = True
|
|
[experimental]
|
|
disablecopytrace = True
|
|
EOF
|
|
}
|