namespaces: remove names method on the namespaces object
Now that there is an object for each individual namespace, we use that instead
of the method on the collection of namespaces.
--- a/mercurial/namespaces.py Sun Dec 21 14:01:52 2014 -0800
+++ b/mercurial/namespaces.py Sun Dec 21 14:04:20 2014 -0800
@@ -89,11 +89,6 @@
"""method that returns the template name of a namespace"""
return self._names[namespace].templatename
- def names(self, repo, namespace, node):
- """method that returns a (sorted) list of names in a namespace that
- match a given node"""
- return sorted(self._names[namespace].nodemap(repo, node))
-
class namespace(object):
"""provides an interface to a namespace