mercurial/posix.py
changeset 16383 f5dd179bfa4a
parent 16241 60cc3a0d2249
child 16726 7002bb17cc5e
--- a/mercurial/posix.py	Sun Apr 08 22:17:51 2012 -0500
+++ b/mercurial/posix.py	Sun Apr 08 12:43:41 2012 -0700
@@ -333,6 +333,9 @@
     if os.sep in command:
         return findexisting(command)
 
+    if sys.platform == 'plan9':
+        return findexisting(os.path.join('/bin', command))
+
     for path in os.environ.get('PATH', '').split(os.pathsep):
         executable = findexisting(os.path.join(path, command))
         if executable is not None: