Mercurial > hg-stable
changeset 22831:acf2ed431ce6
_descendants: replace `ascending()` with `sort()`
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 07 Oct 2014 01:41:02 -0700 |
parents | 1d1da8abe130 |
children | 2f1d2a42f040 |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Tue Oct 07 01:36:53 2014 -0700 +++ b/mercurial/revset.py Tue Oct 07 01:41:02 2014 -0700 @@ -664,7 +664,7 @@ # Both sets need to be ascending in order to lazily return the union # in the correct order. - args.ascending() + args.sort() result = (filteredset(s, subset.__contains__, ascending=True) + filteredset(args, subset.__contains__, ascending=True))