evolve: drop debugobsoleterelevant
Core gained this capability usig `hg debugobsolete --rev REV`
--- a/hgext/evolve.py Wed Aug 20 20:49:48 2014 -0700
+++ b/hgext/evolve.py Wed Aug 27 10:29:31 2014 +0200
@@ -439,18 +439,6 @@
seennodes |= pendingnodes
return seenmarkers
-@command('debugobsoleterelevant',
- [],
- 'REVSET')
-def debugobsoleterelevant(ui, repo, *revsets):
- """print allobsolescence marker relevant to a set of revision"""
- nodes = [ctx.node() for ctx in repo.set('%lr', revsets)]
- markers = repo.obsstore.relevantmarkers(nodes)
- for rawmarker in sorted(markers):
- marker = obsolete.marker(repo, rawmarker)
- cmdutil.showmarker(ui, marker)
-
-
#####################################################################
### Critical fix ###
#####################################################################
--- a/tests/test-obsolete.t Wed Aug 20 20:49:48 2014 -0700
+++ b/tests/test-obsolete.t Wed Aug 27 10:29:31 2014 +0200
@@ -814,18 +814,18 @@
Simple rewrite
- $ hg --hidden debugobsoleterelevant 3
+ $ hg --hidden debugobsolete --rev 3
4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
simple rewrite with a prune attached to it
- $ hg debugobsoleterelevant 15
+ $ hg debugobsolete --rev 15
0b1b6dd009c037985363e2290a0b579819f659db 705ab2a6b72e2cd86edb799ebe15f2695f86143e 0 (*) {'user': 'test'} (glob)
33d458d86621f3186c40bfccd77652f4a122743e 0 {0b1b6dd009c037985363e2290a0b579819f659db} (*) {'user': 'test'} (glob)
Transitive rewrite
- $ hg --hidden debugobsoleterelevant 8
+ $ hg --hidden debugobsolete --rev 8
909a0fb57e5d909f353d89e394ffd7e0890fec88 159dfc9fa5d334d7e03a0aecfc7f7ab4c3431fea 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
95de7fc6918dea4c9c8d5382f50649794b474c4a 909a0fb57e5d909f353d89e394ffd7e0890fec88 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
a7a6f2b5d8a54b81bc7aa2fba2934ad6d700a79e 95de7fc6918dea4c9c8d5382f50649794b474c4a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}