hgview #20597 allow overriding 'file too big' in the ui [validation pending]
When navigating mercurials repository, the diffs on the file 'mercurial/commands.py' is shown as 'file too big'. This should not be (even though commands.py has around 3800 lines). The same applies for some big XML files. It would be great to be able to override the 'file too big' thing on a file or changeset basis to see the diff anyway. E.g. using the context menu (right-click) or a button? | |
priority | important |
---|---|
type | bug |
done in | 1.6.0 |
load | 0.500 |
load left | 0.000 |
closed by | #a1a6e6e07459 [tui,qt] Allow overriding ``maxfilesize`` config value in the UIs (closes #20597) |
Comments
-
2010/02/23 20:15, written by ddouard
-
2010/02/24 09:12, written by eanclin
add commentAs documented, the maximal size above which files are considered "too big" is configurable through the 'maxfilesize' option.
It seems that the default value is around 100kb. (The mercurial/commands.py has 139K). What is the meaning of this value? Performance issues seem to arise on the size of the diff, but not on the size of the file. Diffs on binary files aren't shown anyway. It seems to me more appropriate to set default value maxfilesize=1000000 (1Mb) or even more.