git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Script to convert git patches to Hg format
@ 2009-10-11 22:56 Mark Lodato
  0 siblings, 0 replies; only message in thread
From: Mark Lodato @ 2009-10-11 22:56 UTC (permalink / raw)
  To: git list

To make it easier to submit patches to a project using Hg, I wrote a
small script to convert the output of `git format-patch' to something
suitable for `hg import'.  The latest version is available at:

http://github.com/MarkLodato/patch-converter

While `hg import' *can* read a git patch, it does not interpret the
date, and it includes the diffstat in the commit log.  This script
fixes those problems.

The script worked well enough for me, but bugs may exist.  If you have
ideas for improvement, patches are welcome :)

--
Mark

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-11 22:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-11 22:56 Script to convert git patches to Hg format Mark Lodato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).