mercurial/phases.py
changeset 17424 e7cfe3587ea4
parent 17205 97eff00046de
child 17425 e95ec38f86b0
--- a/mercurial/phases.py	Tue Aug 28 17:59:08 2012 -0500
+++ b/mercurial/phases.py	Wed Aug 15 22:38:42 2012 +0200
@@ -195,7 +195,7 @@
         return self._phaserevs
 
     def phase(self, repo, rev):
-        # We need a repo argument here to be able to build _phaserev
+        # We need a repo argument here to be able to build _phaserevs
         # if necessary. The repository instance is not stored in
         # phasecache to avoid reference cycles. The changelog instance
         # is not stored because it is a filecache() property and can
@@ -363,7 +363,7 @@
     """compute new head of a subset minus another
 
     * `heads`: define the first subset
-    * `rroots`: define the second we substract to the first"""
+    * `roots`: define the second we substract to the first"""
     revset = repo.set('heads((%ln + parents(%ln)) - (%ln::%ln))',
                       heads, roots, roots, heads)
     return [c.node() for c in revset]