changeset 23738:3436e45de2fb

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.
author Sean Farley <sean.michael.farley@gmail.com>
date Sun, 21 Dec 2014 14:04:20 -0800
parents b56400eeefaf
children b8b246cffdee
files mercurial/namespaces.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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