Mercurial > hg
comparison mercurial/phases.py @ 17425:e95ec38f86b0
fix wording and not-completely-trivial spelling errors and bad docstrings
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 15 Aug 2012 22:39:18 +0200 |
parents | e7cfe3587ea4 |
children | fb72eec7efd8 |
comparison
equal
deleted
inserted
replaced
17424:e7cfe3587ea4 | 17425:e95ec38f86b0 |
---|---|
361 | 361 |
362 def newheads(repo, heads, roots): | 362 def newheads(repo, heads, roots): |
363 """compute new head of a subset minus another | 363 """compute new head of a subset minus another |
364 | 364 |
365 * `heads`: define the first subset | 365 * `heads`: define the first subset |
366 * `roots`: define the second we substract to the first""" | 366 * `roots`: define the second we subtract from the first""" |
367 revset = repo.set('heads((%ln + parents(%ln)) - (%ln::%ln))', | 367 revset = repo.set('heads((%ln + parents(%ln)) - (%ln::%ln))', |
368 heads, roots, roots, heads) | 368 heads, roots, roots, heads) |
369 return [c.node() for c in revset] | 369 return [c.node() for c in revset] |
370 | 370 |
371 | 371 |