diff mercurial/phases.py @ 16867:1093ad1e8903

revlog: descendants(*revs) becomes descendants(revs) (API) Once again making the API more rational, as with ancestors.
author Bryan O'Sullivan <bryano@fb.com>
date Fri, 01 Jun 2012 12:45:16 -0700
parents b0fb4f57d076
children 97eff00046de
line wrap: on
line diff
--- a/mercurial/phases.py	Fri Jun 01 12:37:18 2012 -0700
+++ b/mercurial/phases.py	Fri Jun 01 12:45:16 2012 -0700
@@ -189,7 +189,7 @@
                 if roots:
                     for rev in roots:
                         revs[rev] = phase
-                    for rev in repo.changelog.descendants(*roots):
+                    for rev in repo.changelog.descendants(roots):
                         revs[rev] = phase
             self._phaserevs = revs
         return self._phaserevs