--- a/hgext/obsolete.py Sat Jan 07 11:19:12 2012 +0100
+++ b/hgext/obsolete.py Sat Jan 07 11:20:59 2012 +0100
@@ -111,10 +111,6 @@
### revset
#############################
-def revsetpublic(repo, subset, x):
- args = revset.getargs(x, 0, 0, 'publicheads takes no arguments')
- # XXX slow stop using context
- return [r for r in subset if repo._phaserev[r] == 0]
def revsetobsolete(repo, subset, x):
"""filter obsolet entry"""
@@ -170,7 +166,6 @@
def extsetup(ui):
revset.symbols["obsolete"] = revsetobsolete
- revset.symbols["public"] = revsetpublic
extensions.wrapfunction(discovery, 'findcommonoutgoing', filterobsoleteout)