Page MenuHomePhabricator

Add an "--auto" flag to "bin/differential migrate-hunk"
ClosedPublic

Authored by epriestley on Apr 16 2018, 1:45 PM.
Tags
None
Referenced Files
F14078211: D19371.diff
Fri, Nov 22, 2:46 AM
F14078079: D19371.diff
Fri, Nov 22, 2:02 AM
Unknown Object (File)
Sun, Nov 17, 8:28 PM
Unknown Object (File)
Thu, Nov 14, 12:12 AM
Unknown Object (File)
Sat, Nov 9, 5:58 PM
Unknown Object (File)
Wed, Nov 6, 1:30 AM
Unknown Object (File)
Oct 19 2024, 10:55 AM
Unknown Object (File)
Oct 16 2024, 11:48 PM
Subscribers
None

Details

Summary

Depends on D19370. See T13124. See PHI549. The particular install in PHI549 migrated a large amount of data via the fallback hunk migration script, which does not compress hunks.

Add a mode to bin/differential migrate-hunk that amounts to "compress all the hunks which would benefit from compression".

Test Plan

Ran bin/differential migrate-hunk with --auto, --all, --to, --id, and --dry-run in various mixtures. Forced a bunch of hunks to raw ("byte") format, saw it cleanly upgrade them to compressed ("gzde") format.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable