Mercurial > evolve
view tests/testlib/map-hg-rev.sh @ 6007:ee54e02d3ea0 mercurial-4.6
test-compat: merge mercurial-4.7 into mercurial-4.6
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 12 Aug 2021 22:01:17 +0200 |
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