sapling/tests/copytrace.sh
Saurabh Singh a55e107c0e copytrace: handle modification of config from disablecopytrace to copytrace
Summary: In mercurial core, the config for disabling copytrace was changed from
disablecopytrace (boolean) to copytrace which can be on or off. As a result of
this change, there were some breaks which need to be modified to work with the
new config. This commit acheives the same.

Test Plan: Ran all the tests.

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

Subscribers: quark

Differential Revision: https://phab.mercurial-scm.org/D662
2017-09-08 18:46:24 -07:00

11 lines
156 B
Bash

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