Patch with hg that includes binary?

Aurelien Jacobs aurel at gnuage.org
Thu Dec 21 09:32:43 UTC 2006


On Wed, 20 Dec 2006 16:24:25 -0700
"Andrew Robinson" <andrew.rw.robinson at gmail.com> wrote:

> I have two unrelated HG repositories (actually represent CVS branches
> that I use HG locally to track).
> 
> I have fixed a bug with 1 or more revisions in one repository and want
> to move it to the other repository. Example:
> 
> 5.0.1-branch-CVS
> trunk-CVS
> 
> I have been using:
> 
> (cd 5.0.1-branch-CVS; hg export -r 50) | (cd trunk-CVS; hg import -)
> 
> Which works fine except that it doesn't pull binary changes/files

Try with "hg export --git -r 50", this should also work with
binary changes.

Aurel



More information about the Mercurial mailing list