# HG changeset patch # User Sean Farley # Date 2014-12-21 22:04:20 # Node ID 3436e45de2fbff5a4d3c5aec6b4cfd7928438171 # Parent b56400eeefaf4f7afb857dc5a1ca17d1e0838378 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. diff --git a/mercurial/namespaces.py b/mercurial/namespaces.py --- a/mercurial/namespaces.py +++ b/mercurial/namespaces.py @@ -89,11 +89,6 @@ class namespaces(object): """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