Show More
@@ -122,6 +122,12 class CapabilityError(RepoError): | |||||
122 | class RequirementError(RepoError): |
|
122 | class RequirementError(RepoError): | |
123 | """Exception raised if .hg/requires has an unknown entry.""" |
|
123 | """Exception raised if .hg/requires has an unknown entry.""" | |
124 |
|
124 | |||
|
125 | class StdioError(IOError): | |||
|
126 | """Raised if I/O to stdout or stderr fails""" | |||
|
127 | ||||
|
128 | def __init__(self, err): | |||
|
129 | IOError.__init__(self, err.errno, err.strerror) | |||
|
130 | ||||
125 | class UnsupportedMergeRecords(Abort): |
|
131 | class UnsupportedMergeRecords(Abort): | |
126 | def __init__(self, recordtypes): |
|
132 | def __init__(self, recordtypes): | |
127 | from .i18n import _ |
|
133 | from .i18n import _ |
General Comments 0
You need to be logged in to leave comments.
Login now