mercurial/hgweb.py
changeset 1575 0a1cca912fda
parent 1574 32b091ce4026
child 1579 85803ec2daab
equal deleted inserted replaced
1574:32b091ce4026 1575:0a1cca912fda
   630         def entries(**map):
   630         def entries(**map):
   631             parity = 0
   631             parity = 0
   632             for k,n in i:
   632             for k,n in i:
   633                 yield {"parity": parity,
   633                 yield {"parity": parity,
   634                        "tag": k,
   634                        "tag": k,
   635 		       "manifest": hex(cl.read(n)[0]),
   635 		       "tagmanifest": hex(cl.read(n)[0]),
   636 		       "date": cl.read(n)[2],
   636 		       "date": cl.read(n)[2],
   637                        "node": hex(n)}
   637                        "node": hex(n)}
   638                 parity = 1 - parity
   638                 parity = 1 - parity
   639 
   639 
   640         yield self.t("tags",
   640         yield self.t("tags",
   666                 yield self.t("tagentry",
   666                 yield self.t("tagentry",
   667                              parity = parity,
   667                              parity = parity,
   668                              tag = k,
   668                              tag = k,
   669                              node = hex(n),
   669                              node = hex(n),
   670                              date = t,
   670                              date = t,
   671                              manifest = hex(m))
   671                              tagmanifest = hex(m))
   672                 parity = 1 - parity
   672                 parity = 1 - parity
   673         
   673         
   674         def changelist(**map):
   674         def changelist(**map):
   675             parity = 0
   675             parity = 0
   676             cl = self.repo.changelog
   676             cl = self.repo.changelog