git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] hg-to-git: do not include the branch name as the first line of commit msg

From
Mark Drago <markdrago@gmail.com>
Date
Dec 1, 2007, 17:56 UTC
Message-ID
<4751A036.1080209@gmail.com>
Signed-off-by: Mark Drago <markdrago@gmail.com>
---
 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
Next: Junio C Hamano
Message 1 of 4 in “hg-to-git: do not include the branch name as the first line of commit msg”
  1. hg-to-git: do not include the branch name as the first line of commit msgMark Drago, Dec 1, 2007
  2. Junio C HamanoDec 4, 2007
  3. Stelian PopDec 6, 2007
  4. BazDec 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.