namespaces: remove names method on the namespaces object
authorSean Farley <sean.michael.farley@gmail.com>
Sun, 21 Dec 2014 14:04:20 -0800
changeset 23738 3436e45de2fb
parent 23737 b56400eeefaf
child 23739 b8b246cffdee
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.
mercurial/namespaces.py
--- 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