mercurial/mdiff.py
changeset 48365 67064c238ae7
parent 46819 d4ba4d51f85f
child 48875 6000f5b25c9b
equal deleted inserted replaced
48364:220506bb213e 48365:67064c238ae7
    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):