mercurial/mdiff.py
changeset 43117 8ff1ecfadcd1
parent 43089 c59eb1560c44
child 43483 f2f460cdb4f5
equal deleted inserted replaced
43116:defabf63e969 43117:8ff1ecfadcd1
    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)