Script to convert git patches to Hg format
From: Mark Lodato <hidden>
Date: 2016-06-15 22:47:30
From: Mark Lodato <hidden>
Date: 2016-06-15 22:47:30
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