Mercurial > evolve
view tests/testlib/map-hg-rev.sh @ 6269:16f6b18b9ec0
topicmap: remove unused branchtip and branchheads methods of _topiccache
These methods aren't unused per say, but they never receive topic keyword from
any callers, so they simply always call+return super() version of themselves.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 08 Jul 2022 17:52:25 +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