[Bug 4751] New: unhelpful return code from hg phase

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Jul 10 07:46:16 CDT 2015


          Priority: normal
            Bug ID: 4751
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: unhelpful return code from hg phase
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: julien.cristau at logilab.fr
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.4
         Component: Mercurial
           Product: Mercurial

hg phase's documentation says:

    Returns 0 on success, 1 if no phases were changed or some could not be

This seems rather unhelpful, in particular "no phases were changed because
there was nothing to do" should IMO count as success, not as error, unlike "no
phases were changed because e.g. you asked for a public cset to become draft
without --force".

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list