Mercurial > evolve
view tests/testlib/map-hg-rev.sh @ 5911:55589cb47581
tests: drop debugobsolete alias from common.sh
Support for devel.default-date exists since hg 4.3, so this is long overdue.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 09 May 2021 19:58:24 +0800 |
parents | 4f3c87584a4a |
children |
line wrap: on
line source
#!/bin/sh set -eu case $1 in default) echo default ;; mercurial-*) exp=$(echo "$1" | cut -d- -f2 | sed 's#\.#\\.#g') echo 'max(tag("re:^'"$exp"'"))' ;; *) echo stable ;; esac