##// END OF EJS Templates
namespaces: add method to return a list of nodes for a given name...
Sean Farley -
r23774:b9537ee8 default
parent child Browse files
Show More
@@ -140,3 +140,10 b' class namespace(object):'
140 """method that returns a (sorted) list of names in a namespace that
140 """method that returns a (sorted) list of names in a namespace that
141 match a given node"""
141 match a given node"""
142 return sorted(self.nodemap(repo, node))
142 return sorted(self.nodemap(repo, node))
143
144 def nodes(self, repo, name):
145 """method that returns a list of nodes in a namespace that
146 match a given name.
147
148 """
149 return sorted(self.namemap(repo, name))
General Comments 0
You need to be logged in to leave comments. Login now