##// END OF EJS Templates
[PATCH 5/5]: cleaning the template parent management in hgweb...
mpm@selenic.com -
r572:cb7cd12e default
parent child Browse files
Show More
@@ -151,10 +151,6 b' class hgweb:'
151 if len(files) > self.maxfiles:
151 if len(files) > self.maxfiles:
152 yield self.t("fileellipses")
152 yield self.t("fileellipses")
153
153
154 def parent(self, t1, node=nullid, rev=-1, **args):
155 if node != hex(nullid):
156 yield self.t(t1, node = node, rev = rev, **args)
157
158 def parents(self, t1, nodes=[], rev=None,**args):
154 def parents(self, t1, nodes=[], rev=None,**args):
159 if not rev: rev = lambda x: ""
155 if not rev: rev = lambda x: ""
160 for node in nodes:
156 for node in nodes:
General Comments 0
You need to be logged in to leave comments. Login now