compat: always use the strip revset from core
We only support versions that defines it.
--- a/hgext3rd/evolve/__init__.py Tue Feb 28 14:28:23 2017 +0100
+++ b/hgext3rd/evolve/__init__.py Tue Feb 28 14:28:54 2017 +0100
@@ -2370,14 +2370,7 @@
nodetobookmarks.setdefault(node, []).append(mark)
for marks in nodetobookmarks.values():
if bookmarks.issuperset(marks):
- if util.safehasattr(repair, 'stripbmrevset'):
- rsrevs = repair.stripbmrevset(repo, marks[0])
- else:
- rsrevs = repo.revs("ancestors(bookmark(%s)) - "
- "ancestors(head() and not bookmark(%s)) - "
- "ancestors(bookmark() and not bookmark(%s)) - "
- "obsolete()",
- marks[0], marks[0], marks[0])
+ rsrevs = repair.stripbmrevset(repo, marks[0])
revs = set(revs)
revs.update(set(rsrevs))
revs = sorted(revs)