Show More
@@ -154,6 +154,9 b' def has_pygments():' | |||||
154 | except ImportError: |
|
154 | except ImportError: | |
155 | return False |
|
155 | return False | |
156 |
|
156 | |||
|
157 | def has_outer_repo(): | |||
|
158 | return matchoutput('hg root 2>&1', r'') | |||
|
159 | ||||
157 | checks = { |
|
160 | checks = { | |
158 | "baz": (has_baz, "GNU Arch baz client"), |
|
161 | "baz": (has_baz, "GNU Arch baz client"), | |
159 | "bzr": (has_bzr, "Canonical's Bazaar client"), |
|
162 | "bzr": (has_bzr, "Canonical's Bazaar client"), | |
@@ -169,6 +172,7 b' checks = {' | |||||
169 | "inotify": (has_inotify, "inotify extension support"), |
|
172 | "inotify": (has_inotify, "inotify extension support"), | |
170 | "lsprof": (has_lsprof, "python lsprof module"), |
|
173 | "lsprof": (has_lsprof, "python lsprof module"), | |
171 | "mtn": (has_mtn, "monotone client (> 0.31)"), |
|
174 | "mtn": (has_mtn, "monotone client (> 0.31)"), | |
|
175 | "outer-repo": (has_outer_repo, "outer repo"), | |||
172 | "pygments": (has_pygments, "Pygments source highlighting library"), |
|
176 | "pygments": (has_pygments, "Pygments source highlighting library"), | |
173 | "svn": (has_svn, "subversion client and admin tools"), |
|
177 | "svn": (has_svn, "subversion client and admin tools"), | |
174 | "svn-bindings": (has_svn_bindings, "subversion python bindings"), |
|
178 | "svn-bindings": (has_svn_bindings, "subversion python bindings"), |
@@ -1,6 +1,6 b'' | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
3 | "$TESTDIR/hghave" svn svn-bindings || exit 80 |
|
3 | "$TESTDIR/hghave" svn svn-bindings no-outer-repo || exit 80 | |
4 |
|
4 | |||
5 | fixpath() |
|
5 | fixpath() | |
6 | { |
|
6 | { |
@@ -1,6 +1,8 b'' | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 | # test command parsing and dispatch |
|
2 | # test command parsing and dispatch | |
3 |
|
3 | |||
|
4 | "$TESTDIR/hghave" no-outer-repo || exit 80 | |||
|
5 | ||||
4 | hg init a |
|
6 | hg init a | |
5 | cd a |
|
7 | cd a | |
6 | echo a > a |
|
8 | echo a > a |
@@ -1,6 +1,8 b'' | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 | # Test basic extension support |
|
2 | # Test basic extension support | |
3 |
|
3 | |||
|
4 | "$TESTDIR/hghave" no-outer-repo || exit 80 | |||
|
5 | ||||
4 | cat > foobar.py <<EOF |
|
6 | cat > foobar.py <<EOF | |
5 | import os |
|
7 | import os | |
6 | from mercurial import commands |
|
8 | from mercurial import commands |
General Comments 0
You need to be logged in to leave comments.
Login now