Show More
@@ -28,9 +28,9 b' gethgversion() {' | |||||
28 | distance='' |
|
28 | distance='' | |
29 | node='' |
|
29 | node='' | |
30 | fi |
|
30 | fi | |
31 | if echo $hgversion | grep -- '-' > /dev/null 2>&1; then |
|
31 | if echo $hgversion | grep -E -- '[0-9]\.[0-9](\.[0-9])?rc' > /dev/null 2>&1; then | |
32 |
version=`echo $hgversion | cut -d |
|
32 | version=`echo $hgversion | cut -d'r' -f1` | |
33 |
type=`echo $hgversion | cut -d |
|
33 | type="rc`echo $hgversion | cut -d'c' -f2-`" | |
34 | else |
|
34 | else | |
35 | version=$hgversion |
|
35 | version=$hgversion | |
36 | type='' |
|
36 | type='' |
General Comments 0
You need to be logged in to leave comments.
Login now