Show More
@@ -70,7 +70,11 b' class hgweb(object):' | |||
|
70 | 70 | if len(siblings) == 1 and siblings[0].rev() == hiderev: |
|
71 | 71 | return |
|
72 | 72 | for s in siblings: |
|
73 |
|
|
|
73 | d = {'node': hex(s.node()), 'rev': s.rev()} | |
|
74 | if hasattr(s, 'file'): | |
|
75 | d['file'] = s.file() | |
|
76 | d.update(args) | |
|
77 | yield d | |
|
74 | 78 | |
|
75 | 79 | def renamelink(self, fl, node): |
|
76 | 80 | r = fl.renamed(node) |
@@ -318,8 +322,8 b' class hgweb(object):' | |||
|
318 | 322 | "author": ctx.user(), |
|
319 | 323 | "date": ctx.date(), |
|
320 | 324 | "rename": self.renamelink(fl, n), |
|
321 |
"parent": self.siblings(fctx.parents() |
|
|
322 |
"child": self.siblings(fctx.children() |
|
|
325 | "parent": self.siblings(fctx.parents()), | |
|
326 | "child": self.siblings(fctx.children()), | |
|
323 | 327 | "desc": ctx.description()}) |
|
324 | 328 | parity = 1 - parity |
|
325 | 329 | |
@@ -357,8 +361,8 b' class hgweb(object):' | |||
|
357 | 361 | node=hex(fctx.node()), |
|
358 | 362 | author=fctx.user(), |
|
359 | 363 | date=fctx.date(), |
|
360 |
parent=self.siblings(fctx.parents() |
|
|
361 |
child=self.siblings(fctx.children() |
|
|
364 | parent=self.siblings(fctx.parents()), | |
|
365 | child=self.siblings(fctx.children()), | |
|
362 | 366 | rename=self.renamelink(fl, n), |
|
363 | 367 | permissions=fctx.manifest().execf(f)) |
|
364 | 368 | |
@@ -395,8 +399,8 b' class hgweb(object):' | |||
|
395 | 399 | date=fctx.date(), |
|
396 | 400 | desc=fctx.description(), |
|
397 | 401 | rename=self.renamelink(fl, n), |
|
398 |
parent=self.siblings(fctx.parents() |
|
|
399 |
child=self.siblings(fctx.children() |
|
|
402 | parent=self.siblings(fctx.parents()), | |
|
403 | child=self.siblings(fctx.children()), | |
|
400 | 404 | permissions=fctx.manifest().execf(f)) |
|
401 | 405 | |
|
402 | 406 | def manifest(self, ctx, path): |
General Comments 0
You need to be logged in to leave comments.
Login now