From: Mark Lodato <lodatom@gmail.com>
To: git list <git@vger.kernel.org>
Subject: Script to convert git patches to Hg format
Date: Sun, 11 Oct 2009 18:56:46 -0400 [thread overview]
Message-ID: <ca433830910111556r6b11e787l58596b9cf56ac0ff@mail.gmail.com> (raw)
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
reply other threads:[~2009-10-11 22:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ca433830910111556r6b11e787l58596b9cf56ac0ff@mail.gmail.com \
--to=lodatom@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).