On 4 February 2012 12:54, Bastien Dejean <nihilhill@xxxxxxxxx> wrote: > Hi, > > There's a problem with all the mercurial based PKGBUILD, the following > command: > > hg pull > > Returns with a non zero exit code if there's nothing to pull. > In that case, makepkg fails with since it traps all non zero exit codes. > > I've found traces of this mercurial behavior dating from 2006, hence I > presume that makepkg must have become picky lately? > > Greetings, > -- > b.d > (| |) > ^ ^ You can use "|| true" in such cases. Eg. hg pull || true