view tests/testlib/common.sh @ 3329:c056f125e17d

stablesort: record previous segment size in the jump That was, we can skip over a full jump without walking it. We'll make use of this in the next changeset.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 20 Dec 2017 17:56:38 +0100
parents e1c26c632b6d
children 55589cb47581
line wrap: on
line source

. $TESTDIR/testlib/pythonpath.sh

mkcommit() {
   echo "$1" > "$1"
   hg add "$1"
   hg ci -m "$1"
}

getid() {
   hg log --hidden --template '{node}\n' --rev "$1"
}

cat >> $HGRCPATH <<EOF
[alias]
debugobsolete=debugobsolete -d '0 0'
EOF