equal
deleted
inserted
replaced
50 EOF |
50 EOF |
51 |
51 |
52 # Use the system hg command if the bundled hg can't read the repository with |
52 # Use the system hg command if the bundled hg can't read the repository with |
53 # no warning nor error. |
53 # no warning nor error. |
54 if [ -n "`hg id -R "$TESTDIR/.." 2>&1 >/dev/null`" ]; then |
54 if [ -n "`hg id -R "$TESTDIR/.." 2>&1 >/dev/null`" ]; then |
55 alias testrepohg=syshg |
55 testrepohg() { |
56 alias testrepohgenv=syshgenv |
56 syshg "$@" |
|
57 } |
|
58 testrepohgenv() { |
|
59 syshgenv "$@" |
|
60 } |
57 else |
61 else |
58 alias testrepohg="hg $extraoptions" |
62 testrepohg() { |
59 alias testrepohgenv=: |
63 hg $extraoptions "$@" |
|
64 } |
|
65 testrepohgenv() { |
|
66 : |
|
67 } |
60 fi |
68 fi |