This repository has been archived by the owner on Feb 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
Updating via Patching
tim edited this page Aug 23, 2015
·
1 revision
We have a short piece in our tutorial on patching, make sure you have read/completed that.
To produce compact patches Esky requires access to the bsdiff binary diff tool. If this tool is not installed Esky will silently fallback to a whole file mode that produces substantially larger patches (as much as 100x).
The following command will produce an Esky patch from two zip files:
python -m esky.patch diff -Z <first-zip-file> <second-zip-file> <patch-file>
Incidentally you can test this by running:
python -m esky.patch patch <target-dir> <patch-file>
There is also a --dry-run option that will print some information about what the patch would do.
Info
References
Development