clfilter: drop unnecessary explicit filtering on rebase
Hidden changeset filtering is now done at repo level. The rebaseset
computation will not include any (unless you add --hidden).
--- 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"