# HG changeset patch # User Brendan Cully # Date 1183407972 25200 # Node ID e321f16f4eac1b082291a932f07903b3c04d8fa6 # Parent 5ee5cbfceff36d613fe99aae7336444c8e34955a patch.extract: fix test-import breakage introduced in the previous changeset diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -91,6 +91,7 @@ def extract(ui, fileobj): # drop earlier commit message content cfp.seek(0) cfp.truncate() + subject = None elif hgpatch: if line.startswith('# User '): user = line[7:]