# HG changeset patch # User Dan Drake # Date 2010-07-22 05:30:27 # Node ID 88b89ace643b223e0ef99481e08361410309571f # Parent 50fede14fe4d3e1e771c3f565137d9b9ebb34908 patch: fix extract() docstring, it returns branch as well diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -174,7 +174,7 @@ def extract(ui, fileobj): patch can be a normal patch or contained in an email message. - return tuple (filename, message, user, date, node, p1, p2). + return tuple (filename, message, user, date, branch, node, p1, p2). Any item in the returned tuple can be None. If filename is None, fileobj did not contain a patch. Caller must unlink filename when done.'''