Package: mr Version: 1.11 Severity: normal Whenever I pull from hg repositories using mr I get an error (see below), which is annoying when I am running mr in interactive mode.
The manual page seems to indicate that the failure return code is deliberate for hg update, making it not useful to pay attention to: > Returns 0 on success, 1 if no changes found or an update had unresolved files. I would suggest changing hg_update to this instead: hg_update = hg pull "$@" ; hg update "$@" That would ignore the hg pull return code since it is useless. pabs@chianamo ~/devel/games/humble-bundle/aquaria $ grep aquaria ~/.mrconfig [devel/games/humble-bundle/aquaria] checkout = hg clone 'http://hg.icculus.org/icculus/aquaria/' 'aquaria' pabs@chianamo ~/devel/games/humble-bundle/aquaria $ mr update mr update: /home/pabs/devel/games/humble-bundle/aquaria pulling from http://hg.icculus.org/icculus/aquaria/ searching for changes no changes found mr update: command failed mr update: finished (1 failed) pabs@chianamo ~/devel/games/humble-bundle/aquaria $ hg pull ; echo $? ; hg update ; echo $? pulling from http://hg.icculus.org/icculus/aquaria/ searching for changes no changes found 1 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 0 -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash mr depends on no packages. Versions of packages mr recommends: ii libhtml-parser-perl 3.69-1+b1 ii libwww-perl 6.04-1 ii perl 5.14.2-7 Versions of packages mr suggests: ii bzr 2.5.0~bzr6458-2 ii curl 7.24.0-1 ii cvs 2:1.12.13+real-8 ii darcs 2.5.2-6+b2 ii fossil <none> ii git [git-core] 1:1.7.9-1 ii git-core 1:1.7.9-1 ii liburi-perl 1.59-1 ii mercurial 2.1-1 ii subversion 1.6.17dfsg-3 -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part