Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

filedata: show maxdiff value

Changeset d575c7c0f968

Parent fb8bab340377

by Eduard-Cristian Stefan

Changes to one file · Browse files at d575c7c0f968 Showing diff from parent fb8bab340377 Diff from another changeset...

 
42
43
44
45
 
 
46
47
48
 
263
264
265
266
267
 
 
 
 
268
269
270
271
272
 
42
43
44
 
45
46
47
48
49
 
264
265
266
 
 
267
268
269
270
271
 
272
273
274
@@ -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]