> > FYI, on Solaris 2.6, /usr/bin/which (used in hgmerge) does not exit > > with the correct status. Replacing with GNU version seemed to fix > > it. > > That's not a very good fix. But there doesn't seem to be a > POSIX-mandated equivalent to which. Perhaps we can do: The stocked 'which' is broken, and not just for Mercurial.