equal
deleted
inserted
replaced
119 class CapabilityError(RepoError): |
119 class CapabilityError(RepoError): |
120 pass |
120 pass |
121 |
121 |
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 |
|
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) |
124 |
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 _ |
128 self.recordtypes = sorted(recordtypes) |
134 self.recordtypes = sorted(recordtypes) |