[Bug 4157] New: Alias does not return correct return code

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jan 30 20:31:45 CST 2014


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

          Priority: normal
            Bug ID: 4157
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Alias does not return correct return code
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: Bugzilla at jimnun.co.uk
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.8
         Component: Mercurial
           Product: Mercurial

I'm using the following config:

[alias]
sout = out --style slog-teamcity -v


running 'hg out --style slog-teamcity -v' with no outgoing changesets returns 1
running 'hg sout' with no outgoing changesets returns 0


however with the following shell alias config

[alias]
sout = !hg out --style slog-teamcity -v

running 'hg sout' with no outgoing changesets returns 1

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


More information about the Mercurial-devel mailing list