equal
deleted
inserted
replaced
82 setattr(self, k, v) |
82 setattr(self, k, v) |
83 |
83 |
84 try: |
84 try: |
85 self.context = int(self.context) |
85 self.context = int(self.context) |
86 except ValueError: |
86 except ValueError: |
87 raise error.Abort( |
87 raise error.InputError( |
88 _(b'diff context lines count must be an integer, not %r') |
88 _(b'diff context lines count must be an integer, not %r') |
89 % pycompat.bytestr(self.context) |
89 % pycompat.bytestr(self.context) |
90 ) |
90 ) |
91 |
91 |
92 def copy(self, **kwargs): |
92 def copy(self, **kwargs): |