push return code broken?

Isaac Jurado diptongo at gmail.com
Sat Jan 28 04:59:16 CST 2012


On Sat, Jan 28, 2012 at 2:13 AM, John Coomes <John.Coomes at oracle.com> wrote:
>
> FWIW, I'd rather see the docs changed than the return code.  The
> mirror command, pull, returns 0 if nothing was pulled:
>
>    Returns 0 on success, 1 if an update had unresolved files.

Pull does not touch the working copy, unless you use -u or --rebase.  In
which case I believe the return code is the same as "hg update" or "hg
rebase".

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci


More information about the Mercurial-devel mailing list