comparison mercurial/patch.py @ 4771:e321f16f4eac

patch.extract: fix test-import breakage introduced in the previous changeset
author Brendan Cully <brendan@kublai.com>
date Mon, 02 Jul 2007 13:26:12 -0700
parents 5ee5cbfceff3
children 4574925db5c0
comparison
equal deleted inserted replaced
4770:5ee5cbfceff3 4771:e321f16f4eac
89 ui.debug(_('patch generated by hg export\n')) 89 ui.debug(_('patch generated by hg export\n'))
90 hgpatch = True 90 hgpatch = True
91 # drop earlier commit message content 91 # drop earlier commit message content
92 cfp.seek(0) 92 cfp.seek(0)
93 cfp.truncate() 93 cfp.truncate()
94 subject = None
94 elif hgpatch: 95 elif hgpatch:
95 if line.startswith('# User '): 96 if line.startswith('# User '):
96 user = line[7:] 97 user = line[7:]
97 ui.debug('From: %s\n' % user) 98 ui.debug('From: %s\n' % user)
98 elif line.startswith("# Date "): 99 elif line.startswith("# Date "):