Mercurial > public > mercurial-scm > hg-stable
diff hgext/transplant.py @ 11411:5834e79b24f7
transplant: when reading journal, treat only lines starting with "# " special like patch.extract() does
author | Georg Brandl <georg@python.org> |
---|---|
date | Sat, 19 Jun 2010 12:51:57 +0200 |
parents | 40c06bbf58be |
children | 79231258503b |
line wrap: on
line diff
--- a/hgext/transplant.py Sun Jun 20 14:21:47 2010 -0500 +++ b/hgext/transplant.py Sat Jun 19 12:51:57 2010 +0200 @@ -341,7 +341,7 @@ node = revlog.bin(line[10:]) elif line.startswith('# Parent '): parents.append(revlog.bin(line[9:])) - elif not line.startswith('#'): + elif not line.startswith('# '): inmsg = True message.append(line) return (node, user, date, '\n'.join(message), parents)