# HG changeset patch # User Pierre-Yves David # Date 1344358406 -7200 # Node ID 9d47474d2582f0f8c29ffd01dea0a31aa0ec7bb7 # Parent 52b5e14c63d537ed75905ebce4773cfddc832825 obsolete: remove legacy revset diff --git a/hgext/evolve.py b/hgext/evolve.py --- a/hgext/evolve.py +++ b/hgext/evolve.py @@ -192,7 +192,7 @@ # Look for an unstable which can be stabilized as a child of # node. The unstable must be a child of one of node predecessors. for ctx in selfanddescendants(repo, pctx): - unstables = list(repo.set('unstable() and children(obsancestors(%d))', + unstables = list(repo.set('unstable() and children(allprecursors(%d))', ctx.rev())) if unstables: return unstables[0] diff --git a/hgext/obsolete.py b/hgext/obsolete.py --- a/hgext/obsolete.py +++ b/hgext/obsolete.py @@ -637,7 +637,6 @@ return [r for r in subset if r in repo._conflictingset] -@eh.revset('obsparents') # XXX kill me @eh.revset('precursors') def revsetprecursors(repo, subset, x): """``precursors(set)`` @@ -648,7 +647,6 @@ return [r for r in subset if r in cs] -@eh.revset('obsancestors') # XXX kill me @eh.revset('allprecursors') def revsetallprecursors(repo, subset, x): """``allprecursors(set)`` @@ -659,7 +657,6 @@ return [r for r in subset if r in cs] -@eh.revset('obschildrend') # XXX kill me @eh.revset('successors') def revsetsuccessors(repo, subset, x): """``successors(set)`` @@ -669,7 +666,6 @@ cs = _successors(repo, s) return [r for r in subset if r in cs] -@eh.revset('obsdescendants') # XXX kill me @eh.revset('allsuccessors') def revsetallsuccessors(repo, subset, x): """``allsuccessors(set)`` diff --git a/tests/test-evolve.t b/tests/test-evolve.t --- a/tests/test-evolve.t +++ b/tests/test-evolve.t @@ -212,10 +212,6 @@ and **amend**:: - $ hg status - $ hg pstatus - $ hg diff - $ hg pdiff $ hg amend --note "fix spelling of Zwei" The `--note` is our commit message for the *update* only. So its only purpose