equal
deleted
inserted
replaced
514 def run(self): |
514 def run(self): |
515 args = cgi.parse() |
515 args = cgi.parse() |
516 |
516 |
517 if not args.has_key('cmd') or args['cmd'][0] == 'changelog': |
517 if not args.has_key('cmd') or args['cmd'][0] == 'changelog': |
518 hi = self.repo.changelog.count() |
518 hi = self.repo.changelog.count() |
519 if args.has_key('pos'): |
519 if args.has_key('rev'): |
520 hi = int(args['pos'][0]) |
520 hi = int(args['rev'][0]) |
521 |
521 |
522 write(self.changelog(hi)) |
522 write(self.changelog(hi)) |
523 |
523 |
524 elif args['cmd'][0] == 'changeset': |
524 elif args['cmd'][0] == 'changeset': |
525 write(self.changeset(args['node'][0])) |
525 write(self.changeset(args['node'][0])) |