Mercurial > evolve
view tests/testlib/map-hg-rev.sh @ 6331:9c243e98d0be
prune: raise InputError when validating/suggesting user input
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 20 Nov 2022 17:29:14 +0400 |
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