tests/testlib/obsmarker-common.sh
author Gregory Szorc <gregory.szorc@gmail.com>
Mon, 24 Sep 2018 12:49:17 -0700
changeset 39880 d909c44d29e1
parent 32897 1858fc2327ef
child 42970 86f39a89b63e
permissions -rw-r--r--
filelog: stop proxying rawsize() (API) This method is no longer used by external consumers. The API is quite low-level and is effectively len(revision(raw=True)). I don't see a compelling reason to keep it around. Let's drop the API and make the file storage interface simpler. Differential Revision: https://phab.mercurial-scm.org/D4750

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