Mercurial > evolve
view tests/testlib/map-hg-rev.sh @ 5811:4688b7eb7e40
evolve: preserve wdir when using --stop
After this change using hg evolve --stop update the working copy
parent back to where the working copy was before the hg evolve
operation (or the successors of that)
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Wed, 26 Aug 2020 23:27:17 +0530 |
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