diff -r 871ff96a86cc -r eff2eefdb65a mercurial/commands.py --- a/mercurial/commands.py Thu May 17 20:09:44 2007 -0700 +++ b/mercurial/commands.py Thu May 17 20:09:47 2007 -0700 @@ -1516,10 +1516,10 @@ if pf == '-': ui.status(_("applying patch from stdin\n")) - tmpname, message, user, date, nodeid, p1, p2 = patch.extract(ui, sys.stdin) + tmpname, message, user, date, branch, nodeid, p1, p2 = patch.extract(ui, sys.stdin) else: ui.status(_("applying %s\n") % p) - tmpname, message, user, date, nodeid, p1, p2 = patch.extract(ui, file(pf)) + tmpname, message, user, date, branch, nodeid, p1, p2 = patch.extract(ui, file(pf)) if tmpname is None: raise util.Abort(_('no diffs found'))