Trying to import a patch [abort: patch command failed: exited with status 127]
Kevin Bullock
kbullock at ringworld.org
Thu Jun 25 11:04:47 CDT 2009
On 25 Jun 2009, at 10:55 AM, Unmesh Mayekar wrote:
> newbie to Hg. Tried importing a patch - get the following error
> (running on debian)
>
> debian:/var/www# hg import ~unmesh/patches/20090625_rev1.patch
> applying /home/unmesh/patches/20090625_rev1.patch
> sh: patch: command not found
> abort: patch command failed: exited with status 127
# apt-get install patch
Mercurial appears to depend on the external 'patch' program to import
a patch (as I read the error message). If you want a complete
development environment, you may also want to install the 'build-
essential' package. It depends on a bunch of other packages to get you
a compiler, make, -dev versions of core libraries, etc.
Pacem in terris / Mir / Shanti / Salaam / Heiwa
Kevin R. Bullock
More information about the Mercurial
mailing list