--- a/hgext3rd/topic/revset.py Sun Jul 02 13:49:32 2017 +0200
+++ b/hgext3rd/topic/revset.py Sun Jul 02 14:10:44 2017 +0200
@@ -36,16 +36,7 @@
else:
matcher = lambda t: bool(t)
- # XXX-mercurial 4.1 compat
- # otherwise use:
- #
- # mutable = repo._phasecache.getrevset(repo, (phases.draft, phases.secret))
- #
- mutable = set()
- for u in repo._phasecache._phasesets[1:]:
- mutable.update(u)
- mutable = revset.baseset(mutable - repo.changelog.filteredrevs)
- mutable.sort()
+ mutable = revset._notpublic(repo, revset.fullreposet(repo), ())
rawchange = repo.changelog.changelogrevision
key = constants.extrakey