From: Mark Drago Date: Sat, 01 Dec 2007 17:56:06 GMT Subject: [PATCH] hg-to-git: do not include the branch name as the first line of commit msg Message-ID: <4751A036.1080209@gmail.com> Signed-off-by: Mark Drago --- contrib/hg-to-git/hg-to-git.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/contrib/hg-to-git/hg-to-git.py b/contrib/hg-to-git/hg-to-git.py index 7a1c3e4..6bff49b 100755 --- a/contrib/hg-to-git/hg-to-git.py +++ b/contrib/hg-to-git/hg-to-git.py @@ -158,7 +158,7 @@ for cset in range(int(tip) + 1): mparent = None (fdcomment, filecomment) = tempfile.mkstemp() - csetcomment = os.popen('hg log -r %d -v | grep -v ^changeset: | grep -v ^parent: | grep -v ^user: | grep -v ^date | grep -v ^files: | grep -v ^description: | grep -v ^tag:' % cset).read().strip() + csetcomment = os.popen('hg log -r %d -v | grep -v ^changeset: | grep -v ^parent: | grep -v ^user: | grep -v ^date | grep -v ^files: | grep -v ^description: | grep -v ^tag: | grep -v ^branch:' % cset).read().strip() os.write(fdcomment, csetcomment) os.close(fdcomment) -- 1.5.2.4