view tests/testlib/obsmarker-common.sh @ 40038:906c95073ff7

treemanifests: extract _loaddifflazy from _diff, use in _filesnotin Differential Revision: https://phab.mercurial-scm.org/D4873
author spectral <spectral@google.com>
date Tue, 02 Oct 2018 18:55:07 -0700
parents 1858fc2327ef
children 86f39a89b63e
line wrap: on
line source

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