Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add complete binaries to a Mercurial patch?

I want to use Mercurial to capture changes made to the vanilla installation of a piece of software we use. Everytime we upgrade the software, we need to manually edit the various configuration files and add 3rd party libraries that we use in the current version of the software. Creating patches for the configuration files changes are fine, but how do I add 3rd party libraries (binaries) to a Mercurial patch? Is it even possible?

like image 648
David Corley Avatar asked Apr 24 '10 16:04

David Corley


1 Answers

If you were to try to get the patch for the 7th revision...

hg export --git -r 7 -o 7.patch
like image 113
Jason King Avatar answered Nov 09 '22 04:11

Jason King