{"thread":{"id":"21200","subject":"Script to convert git patches to Hg format","startedAt":"2009-10-11T22:56:46Z","lastAt":"2009-10-11T22:56:46Z","messageCount":1,"participants":["Mark Lodato"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"124649","messageId":"ca433830910111556r6b11e787l58596b9cf56ac0ff@mail.gmail.com","threadId":"21200","inReplyTo":null,"subject":"Script to convert git patches to Hg format","fromName":"Mark Lodato","fromEmail":"lodatom@gmail.com","sentAt":"2009-10-11T22:56:46Z","receivedAt":"2009-10-11T22:56:46Z","isPatch":false,"sender":{"key":"lodatom@gmail.com","avatar":"https://avatars.githubusercontent.com/u/58860?v=4"},"body":"To make it easier to submit patches to a project using Hg, I wrote a\nsmall script to convert the output of `git format-patch' to something\nsuitable for `hg import'.  The latest version is available at:\n\nhttp://github.com/MarkLodato/patch-converter\n\nWhile `hg import' *can* read a git patch, it does not interpret the\ndate, and it includes the diffstat in the commit log.  This script\nfixes those problems.\n\nThe script worked well enough for me, but bugs may exist.  If you have\nideas for improvement, patches are welcome :)\n\n--\nMark\n"}]}