Mercurial > hg
view tests/bzr-definitions @ 50809:53d77f96e049
rhg: tweak rhg fallback code structure
The goal here is to share the code that accesses the config setting,
but also move it to the top-level, so that we can more easily change
this code later.
(in fact in Jane Street we want to make it choose chg in some cases)
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Fri, 28 Jul 2023 17:08:37 +0100 |
parents | 7a88643bc0ef |
children |
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+: [{file_adds}], files-: [{file_dels}], files: [{file_mods}]\n' "$@" } manifest() { echo "% manifest of $2" hg -R $1 manifest -v -r $2 }