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