Mercurial > hg
comparison .jshintrc @ 47289:33c0c25d0b0f
errors: let each Abort subclass define its error code
It's more flexible to have the error codes defined on the error types
themselves. That way extensions can easily set their own exit code. It
also means that we can reduce a bit of duplication betwen
`scmutil.callcatch()` and `chgserver.chgcmdserver.validate()`.
Differential Revision: https://phab.mercurial-scm.org/D10735
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 18 May 2021 17:15:49 -0700 |
parents | bdd2e18b54c5 |
children |
comparison
equal
deleted
inserted
replaced
47288:16b48ebf656e | 47289:33c0c25d0b0f |
---|