Show More
@@ -25,3 +25,16 b' syshgenv () {' | |||||
25 | HGPLAIN=1 |
|
25 | HGPLAIN=1 | |
26 | export HGPLAIN |
|
26 | export HGPLAIN | |
27 | } |
|
27 | } | |
|
28 | ||||
|
29 | # Most test-check-* sourcing this file run "hg files", which is not available | |||
|
30 | # in ancient versions of hg. So we double check if "syshg files" works and | |||
|
31 | # fallback to hg bundled in the repo. | |||
|
32 | syshg files -h >/dev/null 2>/dev/null | |||
|
33 | if [ $? -ne 0 ]; then | |||
|
34 | syshg() { | |||
|
35 | hg "$@" | |||
|
36 | } | |||
|
37 | syshgenv() { | |||
|
38 | : | |||
|
39 | } | |||
|
40 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now