diff -r e7cfe3587ea4 -r e95ec38f86b0 mercurial/phases.py --- a/mercurial/phases.py Wed Aug 15 22:38:42 2012 +0200 +++ b/mercurial/phases.py Wed Aug 15 22:39:18 2012 +0200 @@ -363,7 +363,7 @@ """compute new head of a subset minus another * `heads`: define the first subset - * `roots`: define the second we substract to the first""" + * `roots`: define the second we subtract from the first""" revset = repo.set('heads((%ln + parents(%ln)) - (%ln::%ln))', heads, roots, roots, heads) return [c.node() for c in revset]