Mercurial > hg
changeset 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 | 38d4c9b953fe |
children | 51ceb1571805 |
files | hgext/transplant.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)