Homec4science

Convert "falsey" binary hunks if we have a repository encoding

Authored by David Reuss <david@upsys.dk> on Oct 28 2011, 17:04.

Description

Convert "falsey" binary hunks if we have a repository encoding

Summary:
This adds an encoding detail to the repository, so we can attempt to
convert hunks previously detected as binary.

We also add the encoding information to the arcanist projectinfo
API so we can pull the information if we have it when uploading changes
via arc.

Test Plan:
Changed encoding through the edit UI, and saw "This is binary file", and
changed it back and saw the correct output from the diff.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: 1009

Details

Committed
epriestley <git@epriestley.com>Oct 28 2011, 17:04
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc20608f06615: use correct key looking for a public author of a task
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH4e900c096fab: Convert "falsey" binary hunks if we have a repository encoding (authored by David Reuss <david@upsys.dk>).Oct 28 2011, 17:04