sapling/eden/mononoke/cmds
Stanislau Hlebik ba871d3bdc xdiff: allow rendering diff for large files
Summary:
The goal of the stack is to support "rendering" diffs for large files in scs
server. Note that rendering is in quotes - we are fine with just showing a
placeholder like "Binary file ... differs". This is still better than the
current behaviour which just return an error.

In order to do that I suggest to tweak xdiff library to accept FileContentType
which can be either Normal(...) meaning that we have file content available, or
Omitted, which usually means the file is large and we don't even want to fetch it, and we
just want xdiff to generate a placeholder.

Reviewed By: markbt, krallin

Differential Revision: D20389226

fbshipit-source-id: 0b776d4f143e2ac657d664aa9911f6de8ccfea37
2020-03-12 04:27:23 -07:00
..
admin xdiff: allow rendering diff for large files 2020-03-12 04:27:23 -07:00
blobrepo_checker/src mononoke/mercurial: remove incorrect FileBytes Extend implementation 2020-03-04 08:51:42 -08:00
blobstore_healer mononoke: make sql_ext OSS buildable 2020-03-06 01:33:38 -08:00
bonsai_verify rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
tests mononoke: include DB config in multiplexed blobstore configuration 2020-02-24 11:54:45 -08:00
aliasverify.rs mononoke/mercurial: remove incorrect FileBytes Extend implementation 2020-03-04 08:51:42 -08:00
backfill_derived_data.rs rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
backfill_git_mapping.rs a small tool to backfill git mappings 2020-03-04 06:08:43 -08:00
benchmark_filestore.rs mononoke/filestore: make FilestoreConfig Copy and pass it by value 2020-03-06 02:00:23 -08:00
blobimport.rs rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
configlint.rs Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
dumprev.rs Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
idxdump.rs Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
lfs_import.rs rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
populate_healer.rs mononoke: make sql_ext OSS buildable 2020-03-06 01:33:38 -08:00
rechunker.rs rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
revlogrepo.rs Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
statistics_collector.rs rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
upload_globalrevs.rs rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00