HomePhabricator

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

Description

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

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.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19371

Details

Provenance
epriestleyAuthored on Apr 16 2018, 1:38 PM
epriestleyPushed on Apr 16 2018, 7:27 PM
Reviewer
amckinley
Differential Revision
D19371: Add an "--auto" flag to "bin/differential migrate-hunk"
Parents
rPe3de7d09c0d8: Add an "--all" flag to "bin/differential migrate-hunk"
Branches
Unknown
Tags
Unknown
Build Status
Buildable 20162
Build 27355: Run Core Tests