Show More
@@ -212,6 +212,9 b' def has_ssl():' | |||||
212 | def has_windows(): |
|
212 | def has_windows(): | |
213 | return os.name == 'nt' |
|
213 | return os.name == 'nt' | |
214 |
|
214 | |||
|
215 | def has_system_sh(): | |||
|
216 | return os.name != 'nt' | |||
|
217 | ||||
215 | checks = { |
|
218 | checks = { | |
216 | "baz": (has_baz, "GNU Arch baz client"), |
|
219 | "baz": (has_baz, "GNU Arch baz client"), | |
217 | "bzr": (has_bzr, "Canonical's Bazaar client"), |
|
220 | "bzr": (has_bzr, "Canonical's Bazaar client"), | |
@@ -240,6 +243,7 b' checks = {' | |||||
240 | "svn15": (has_svn15, "subversion client and admin tools >= 1.5"), |
|
243 | "svn15": (has_svn15, "subversion client and admin tools >= 1.5"), | |
241 | "svn-bindings": (has_svn_bindings, "subversion python bindings"), |
|
244 | "svn-bindings": (has_svn_bindings, "subversion python bindings"), | |
242 | "symlink": (has_symlink, "symbolic links"), |
|
245 | "symlink": (has_symlink, "symbolic links"), | |
|
246 | "system-sh": (has_system_sh, "system() uses sh"), | |||
243 | "tla": (has_tla, "GNU Arch tla client"), |
|
247 | "tla": (has_tla, "GNU Arch tla client"), | |
244 | "unix-permissions": (has_unix_permissions, "unix-style permissions"), |
|
248 | "unix-permissions": (has_unix_permissions, "unix-style permissions"), | |
245 | "windows": (has_windows, "Windows"), |
|
249 | "windows": (has_windows, "Windows"), |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" system-sh || exit 80 | |||
|
2 | ||||
1 | $ HGFOO=BAR; export HGFOO |
|
3 | $ HGFOO=BAR; export HGFOO | |
2 | $ cat >> $HGRCPATH <<EOF |
|
4 | $ cat >> $HGRCPATH <<EOF | |
3 | > [extensions] |
|
5 | > [extensions] |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" system-sh || exit 80 | |||
|
2 | ||||
1 | Corrupt an hg repo with a pull started during an aborted commit |
|
3 | Corrupt an hg repo with a pull started during an aborted commit | |
2 | Create two repos, so that one of them can pull from the other one. |
|
4 | Create two repos, so that one of them can pull from the other one. | |
3 |
|
5 |
General Comments 0
You need to be logged in to leave comments.
Login now