Mercurial > public > mercurial-scm > hg-stable
diff tests/test-revlog-ancestry.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 | 91f3ac205816 |
children | eb88ed4269c5 |
line wrap: on
line diff
--- a/tests/test-revlog-ancestry.py Fri Jun 01 12:37:18 2012 -0700 +++ b/tests/test-revlog-ancestry.py Fri Jun 01 12:45:16 2012 -0700 @@ -60,14 +60,14 @@ # Descendants print '\n\nDescendants of 5' - for r in repo.changelog.descendants(5): + for r in repo.changelog.descendants([5]): print r, print '\nDescendants of 5 and 3' - for r in repo.changelog.descendants(5, 3): + for r in repo.changelog.descendants([5, 3]): print r, print '\nDescendants of 5 and 4' - for r in repo.changelog.descendants(5, 4): + for r in repo.changelog.descendants([5, 4]): print r,