hgext/rebase.py
changeset 18269 9454e40e047b
parent 18164 bacf55bd8f90
child 18386 03442135dff4
--- a/hgext/rebase.py	Tue Jan 08 20:02:53 2013 +0100
+++ b/hgext/rebase.py	Tue Dec 04 14:58:19 2012 +0100
@@ -184,8 +184,6 @@
                 rebaseset = repo.revs(
                     '(children(ancestor(%ld, %d)) and ::(%ld))::',
                     base, dest, base)
-            # temporary top level filtering of extinct revisions
-            rebaseset = repo.revs('%ld - hidden()', rebaseset)
             if rebaseset:
                 root = min(rebaseset)
             else:
@@ -195,7 +193,7 @@
                 repo.ui.debug('base is ancestor of destination\n')
                 result = None
             elif (not (keepf or obsolete._enabled)
-                  and repo.revs('first(children(%ld) - %ld)-hidden()',
+                  and repo.revs('first(children(%ld) - %ld)',
                                 rebaseset, rebaseset)):
                 raise util.Abort(
                     _("can't remove original changesets with"