Mercurial > evolve
view tests/testlib/map-hg-rev.sh @ 6109:f196f76d8683
ci: move update-hg-repo.sh to testlib/
Moving the file from contrib/, which is skipped when building a tarball, means
we have one more file "appear" in test-check-sdist.t.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 03 Dec 2021 09:37:51 +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