Changeset d575c7c0f968…
Parent fb8bab340377…
by
Changes to one file · Browse files at d575c7c0f968 Showing diff from parent fb8bab340377 Diff from another changeset...
@@ -42,7 +42,8 @@ self.error = p + hglib.tounicode(str(e))
return None
if size > maxdiff:
- self.error = p + _('File is larger than the specified max size.\n')
+ self.error = p + _('File is larger than the specified max size.\n'
+ 'maxdiff = %s KB') % (maxdiff // 1024)
return None
try:
data = fctx.data()
@@ -263,10 +264,11 @@
# TODO: elif check if a subdirectory (for manifest tool)
- mde = _('File or diffs not displayed: ') + \
- _('File is larger than the specified max size.\n')
+ maxdiff = repo.maxdiff
+ mde = _('File or diffs not displayed: '
+ 'File is larger than the specified max size.\n'
+ 'maxdiff = %s KB') % (maxdiff // 1024)
- maxdiff = repo.maxdiff
if status in ('R', '!'):
if wfile in ctx.p1():
fctx = ctx.p1()[wfile]
|
Loading...