mercurial/hgweb.py
changeset 753 8760d0c83b9b
parent 751 0b245edec124
child 825 0108c602feb9
child 836 1fe3b14c7044
child 839 9c918287d10b
equal deleted inserted replaced
752:c693eafd5967 753:8760d0c83b9b
   668                 nodes = map(bin, args['nodes'][0].split(" "))
   668                 nodes = map(bin, args['nodes'][0].split(" "))
   669             for b in self.repo.branches(nodes):
   669             for b in self.repo.branches(nodes):
   670                 sys.stdout.write(" ".join(map(hex, b)) + "\n")
   670                 sys.stdout.write(" ".join(map(hex, b)) + "\n")
   671 
   671 
   672         elif args['cmd'][0] == 'between':
   672         elif args['cmd'][0] == 'between':
   673             httphdr("application/hg-0.1")
   673             httphdr("application/mercurial-0.1")
   674             nodes = []
   674             nodes = []
   675             if args.has_key('pairs'):
   675             if args.has_key('pairs'):
   676                 pairs = [ map(bin, p.split("-"))
   676                 pairs = [ map(bin, p.split("-"))
   677                           for p in args['pairs'][0].split(" ") ]
   677                           for p in args['pairs'][0].split(" ") ]
   678             for b in self.repo.between(pairs):
   678             for b in self.repo.between(pairs):