CACHEDIR=$TESTTMP/hgcache export DUMMYSSH_STABLE_ORDER=1 cat >> $HGRCPATH <> $dest/.hg/hgrc <> $dest/.hg/hgrc < "$1" hg add "$1" hg ci -m "$1" } ls_l() { $PYTHON $TESTDIR/ls-l.py "$@" } findfilessorted() { find $1 -type f | sort } getmysqldb() { source "$TESTDIR/hgsql/library.sh" } createpushrebaserecordingdb() { mysql -h $DBHOST -P $DBPORT -u $DBUSER $DBPASSOPT -e "CREATE DATABASE IF NOT EXISTS $DBNAME;" 2>/dev/null mysql -h $DBHOST -P $DBPORT -D $DBNAME -u $DBUSER $DBPASSOPT <