[PATCH 27 of 27 clfilter V2] clfilter: drop unnecessary explicite filtering on rebase

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Oct 8 16:38:18 CDT 2012

# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at logilab.fr>
# Date 1349718984 -7200
# Node ID bc642b381dc3097758b6356f48f73ae932f89d53
# Parent  5b3266941ea84b316987a351040b3e3651172327
clfilter: drop unnecessary explicite filtering on rebase.

Hidden changeset filtered is now done a repo level. the rebaseset computation
will not include any (unless you add --hidden) of course.

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -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)

More information about the Mercurial-devel mailing list