equal
deleted
inserted
replaced
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): |