Commits

Pierre-Yves David committed ba45bb2

obsolete: remove public revset (it's now expected to be in core)

  • Participants
  • Parent commits 22f2b70
  • Branches default

Comments (0)

Files changed (1)

hgext/obsolete.py

 ### 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"""
 def extsetup(ui):
 
     revset.symbols["obsolete"] = revsetobsolete
-    revset.symbols["public"] = revsetpublic
 
     extensions.wrapfunction(discovery, 'findcommonoutgoing', filterobsoleteout)