hgext/strip.py
changeset 26624 bcace0fbb4c8
parent 26587 56b2bcea2529
child 26748 5ba0a99ff27f
--- a/hgext/strip.py	Fri Oct 09 11:22:01 2015 -0700
+++ b/hgext/strip.py	Fri Oct 09 14:48:59 2015 -0700
@@ -142,10 +142,7 @@
                     uniquebm = False
                     break
             if uniquebm:
-                rsrevs = repo.revs("ancestors(bookmark(%s)) - "
-                                   "ancestors(head() and not bookmark(%s)) - "
-                                   "ancestors(bookmark() and not bookmark(%s))",
-                                   mark, mark, mark)
+                rsrevs = repair.stripbmrevset(repo, mark)
                 revs.update(set(rsrevs))
             if not revs:
                 del marks[mark]