Mercurial > evolve
view tests/testlib/map-hg-rev.sh @ 6827:eb8a648d90de
tests: demonstrate that using FQBN sometimes works with hg up
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 03 Nov 2023 15:11:06 -0300 |
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