changeset 42 | 2431e6a9344a |
parent 25 | 709f9a3b120e |
--- a/zshrc.d/30-functions-hg.zrc Sat Apr 27 22:53:06 2019 +0200 +++ b/zshrc.d/30-functions-hg.zrc Sat Apr 27 22:54:09 2019 +0200 @@ -7,10 +7,11 @@ return -1 fi - local i=$(hg id -r tip --num) + integer i j + i=$(hg id -r tip --num) local i_h=$(hg id -r tip --id) hg pull $@ - local j=$(hg id -r tip --num) + j=$(hg id -r tip --num) local j_h=$(hg id -r tip --id) if (( $i != $j ));then