Submitter | phabricator |
---|---|
Date | April 5, 2018, 1:48 p.m. |
Message ID | <2ab44fdbde94e1baa139730196d38e92@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/30371/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/mdiff.py b/mercurial/mdiff.py --- a/mercurial/mdiff.py +++ b/mercurial/mdiff.py @@ -78,7 +78,8 @@ self.context = int(self.context) except ValueError: raise error.Abort(_('diff context lines count must be ' - 'an integer, not %r') % self.context) + 'an integer, not %r') % + pycompat.bytestr(self.context)) def copy(self, **kwargs): opts = dict((k, getattr(self, k)) for k in self.defaults)