Mercurial > hg
view tests/bzr-definitions @ 33140:f458a6701983
tests: fix variable name regular expression in _genrestoreenv()
Update the code to correctly anchor the expression on the end of the name, to
require that the entire name match this expression. It was already anchored at
the start by using re.match(), but this does not anchor it at the end.
author | Adam Simpkins <simpkins@fb.com> |
---|---|
date | Thu, 29 Jun 2017 11:29:19 -0700 |
parents | 89872688893f |
children | 7a88643bc0ef |
line wrap: on
line source
# this file holds the definitions that are used in various bzr tests TERM=dumb; export TERM echo '[extensions]' >> $HGRCPATH echo 'convert = ' >> $HGRCPATH glog() { hg log -G --template '{rev}@{branch} "{desc|firstline}" files: {files}\n' "$@" } manifest() { echo "% manifest of $2" hg -R $1 manifest -v -r $2 }