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
Unknown Object (File)
May 5 2025, 9:52 PM
Unknown Object (File)
Apr 30 2025, 9:55 AM
Unknown Object (File)
Apr 30 2025, 9:55 AM
Unknown Object (File)
Apr 30 2025, 9:52 AM
Unknown Object (File)
Apr 20 2025, 9:29 AM
Unknown Object (File)
Apr 12 2025, 6:51 PM
Unknown Object (File)
Apr 12 2025, 11:49 AM
Unknown Object (File)
Apr 11 2025, 5:27 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