# HG changeset patch # User Pierre-Yves David # Date 1327264209 -3600 # Node ID bf87b6b95ce53fb242205cbc3d294e9dd9dba6dd # Parent 295f8aeab3631bad2c0134605faf24b836717773 phase: alway return a value With the previous code, the phase command was returning None when displaying phase and 0 or 1 when moving them. This seemed an bit odd and displaying phase return 0 too now. diff -r 295f8aeab363 -r bf87b6b95ce5 mercurial/commands.py --- a/mercurial/commands.py Mon Jan 23 13:24:32 2012 +0100 +++ b/mercurial/commands.py Sun Jan 22 21:30:09 2012 +0100 @@ -4249,7 +4249,7 @@ else: ui.warn(_('no phases changed\n')) ret = 1 - return ret + return ret def postincoming(ui, repo, modheads, optupdate, checkout): if modheads == 0: