Show More
@@ -1724,6 +1724,11 b' class TestRunner(object):' | |||
|
1724 | 1724 | def _checkhglib(self, verb): |
|
1725 | 1725 | """Ensure that the 'mercurial' package imported by python is |
|
1726 | 1726 | the one we expect it to be. If not, print a warning to stderr.""" |
|
1727 | if ((self._bindir == self._pythondir) and | |
|
1728 | (self._bindir != self._tmpbindir)): | |
|
1729 | # The pythondir has been infered from --with-hg flag. | |
|
1730 | # We cannot expect anything sensible here | |
|
1731 | return | |
|
1727 | 1732 | expecthg = os.path.join(self._pythondir, 'mercurial') |
|
1728 | 1733 | actualhg = self._gethgpath() |
|
1729 | 1734 | if os.path.abspath(actualhg) != os.path.abspath(expecthg): |
General Comments 0
You need to be logged in to leave comments.
Login now