[Bug 3508] New: hg qpush -a return an error code inappropriately

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Wed Jun 20 18:38:51 CDT 2012


http://bz.selenic.com/show_bug.cgi?id=3508

          Priority: normal
            Bug ID: 3508
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg qpush -a return an error code inappropriately
          Severity: bug
    Classification: Unclassified
                OS: Other
          Reporter: will.fiveash at gmail.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: 2.2.1
         Component: mq
           Product: Mercurial

When I have patches that are guarded from being qpushed I find that when I run:
$ hg qpush -a
patch series already fully applied
$ print $?
1

A error code return is not appropriate in this situation.  This makes it
difficult to write robust scripts that run hg qpush -a.
Note, I am using hg version 2.2.1 on Solaris.

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


More information about the Mercurial-devel mailing list