Show More
@@ -1,4 +1,6 b'' | |||||
|
1 | default = 'shortlog' | |||
1 | mimetype = 'application/json' |
|
2 | mimetype = 'application/json' | |
|
3 | ||||
2 | filerevision = '\{ |
|
4 | filerevision = '\{ | |
3 | "node": {node|json}, |
|
5 | "node": {node|json}, | |
4 | "path": {file|json}, |
|
6 | "path": {file|json}, |
@@ -588,6 +588,187 b' shortlog/ shows information about a set ' | |||||
588 | "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7" |
|
588 | "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7" | |
589 | } |
|
589 | } | |
590 |
|
590 | |||
|
591 | shortlog is displayed by default (issue5978) | |||
|
592 | ||||
|
593 | $ request '?style=json' | |||
|
594 | 200 Script output follows | |||
|
595 | ||||
|
596 | { | |||
|
597 | "changeset_count": 10, | |||
|
598 | "changesets": [ | |||
|
599 | { | |||
|
600 | "bookmarks": [], | |||
|
601 | "branch": "default", | |||
|
602 | "date": [ | |||
|
603 | 0.0, | |||
|
604 | 0 | |||
|
605 | ], | |||
|
606 | "desc": "merge test-branch into default", | |||
|
607 | "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7", | |||
|
608 | "parents": [ | |||
|
609 | "ceed296fe500c3fac9541e31dad860cb49c89e45", | |||
|
610 | "ed66c30e87eb65337c05a4229efaa5f1d5285a90" | |||
|
611 | ], | |||
|
612 | "phase": "draft", | |||
|
613 | "tags": [ | |||
|
614 | "tip" | |||
|
615 | ], | |||
|
616 | "user": "test" | |||
|
617 | }, | |||
|
618 | { | |||
|
619 | "bookmarks": [], | |||
|
620 | "branch": "test-branch", | |||
|
621 | "date": [ | |||
|
622 | 0.0, | |||
|
623 | 0 | |||
|
624 | ], | |||
|
625 | "desc": "another commit in test-branch", | |||
|
626 | "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90", | |||
|
627 | "parents": [ | |||
|
628 | "6ab967a8ab3489227a83f80e920faa039a71819f" | |||
|
629 | ], | |||
|
630 | "phase": "draft", | |||
|
631 | "tags": [], | |||
|
632 | "user": "test" | |||
|
633 | }, | |||
|
634 | { | |||
|
635 | "bookmarks": [], | |||
|
636 | "branch": "test-branch", | |||
|
637 | "date": [ | |||
|
638 | 0.0, | |||
|
639 | 0 | |||
|
640 | ], | |||
|
641 | "desc": "create test branch", | |||
|
642 | "node": "6ab967a8ab3489227a83f80e920faa039a71819f", | |||
|
643 | "parents": [ | |||
|
644 | "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e" | |||
|
645 | ], | |||
|
646 | "phase": "draft", | |||
|
647 | "tags": [], | |||
|
648 | "user": "test" | |||
|
649 | }, | |||
|
650 | { | |||
|
651 | "bookmarks": [ | |||
|
652 | "bookmark2" | |||
|
653 | ], | |||
|
654 | "branch": "default", | |||
|
655 | "date": [ | |||
|
656 | 0.0, | |||
|
657 | 0 | |||
|
658 | ], | |||
|
659 | "desc": "create tag2", | |||
|
660 | "node": "ceed296fe500c3fac9541e31dad860cb49c89e45", | |||
|
661 | "parents": [ | |||
|
662 | "f2890a05fea49bfaf9fb27ed5490894eba32da78" | |||
|
663 | ], | |||
|
664 | "phase": "draft", | |||
|
665 | "tags": [], | |||
|
666 | "user": "test" | |||
|
667 | }, | |||
|
668 | { | |||
|
669 | "bookmarks": [], | |||
|
670 | "branch": "default", | |||
|
671 | "date": [ | |||
|
672 | 0.0, | |||
|
673 | 0 | |||
|
674 | ], | |||
|
675 | "desc": "another commit to da/foo", | |||
|
676 | "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78", | |||
|
677 | "parents": [ | |||
|
678 | "93a8ce14f89156426b7fa981af8042da53f03aa0" | |||
|
679 | ], | |||
|
680 | "phase": "draft", | |||
|
681 | "tags": [ | |||
|
682 | "tag2" | |||
|
683 | ], | |||
|
684 | "user": "test" | |||
|
685 | }, | |||
|
686 | { | |||
|
687 | "bookmarks": [], | |||
|
688 | "branch": "default", | |||
|
689 | "date": [ | |||
|
690 | 0.0, | |||
|
691 | 0 | |||
|
692 | ], | |||
|
693 | "desc": "create tag", | |||
|
694 | "node": "93a8ce14f89156426b7fa981af8042da53f03aa0", | |||
|
695 | "parents": [ | |||
|
696 | "78896eb0e102174ce9278438a95e12543e4367a7" | |||
|
697 | ], | |||
|
698 | "phase": "public", | |||
|
699 | "tags": [], | |||
|
700 | "user": "test" | |||
|
701 | }, | |||
|
702 | { | |||
|
703 | "bookmarks": [], | |||
|
704 | "branch": "default", | |||
|
705 | "date": [ | |||
|
706 | 0.0, | |||
|
707 | 0 | |||
|
708 | ], | |||
|
709 | "desc": "move foo", | |||
|
710 | "node": "78896eb0e102174ce9278438a95e12543e4367a7", | |||
|
711 | "parents": [ | |||
|
712 | "8d7c456572acf3557e8ed8a07286b10c408bcec5" | |||
|
713 | ], | |||
|
714 | "phase": "public", | |||
|
715 | "tags": [ | |||
|
716 | "tag1" | |||
|
717 | ], | |||
|
718 | "user": "test" | |||
|
719 | }, | |||
|
720 | { | |||
|
721 | "bookmarks": [ | |||
|
722 | "bookmark1" | |||
|
723 | ], | |||
|
724 | "branch": "default", | |||
|
725 | "date": [ | |||
|
726 | 0.0, | |||
|
727 | 0 | |||
|
728 | ], | |||
|
729 | "desc": "modify da/foo", | |||
|
730 | "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5", | |||
|
731 | "parents": [ | |||
|
732 | "f8bbb9024b10f93cdbb8d940337398291d40dea8" | |||
|
733 | ], | |||
|
734 | "phase": "public", | |||
|
735 | "tags": [], | |||
|
736 | "user": "test" | |||
|
737 | }, | |||
|
738 | { | |||
|
739 | "bookmarks": [], | |||
|
740 | "branch": "default", | |||
|
741 | "date": [ | |||
|
742 | 0.0, | |||
|
743 | 0 | |||
|
744 | ], | |||
|
745 | "desc": "modify foo", | |||
|
746 | "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8", | |||
|
747 | "parents": [ | |||
|
748 | "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e" | |||
|
749 | ], | |||
|
750 | "phase": "public", | |||
|
751 | "tags": [], | |||
|
752 | "user": "test" | |||
|
753 | }, | |||
|
754 | { | |||
|
755 | "bookmarks": [], | |||
|
756 | "branch": "default", | |||
|
757 | "date": [ | |||
|
758 | 0.0, | |||
|
759 | 0 | |||
|
760 | ], | |||
|
761 | "desc": "initial", | |||
|
762 | "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e", | |||
|
763 | "parents": [], | |||
|
764 | "phase": "public", | |||
|
765 | "tags": [], | |||
|
766 | "user": "test" | |||
|
767 | } | |||
|
768 | ], | |||
|
769 | "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7" | |||
|
770 | } | |||
|
771 | ||||
591 | changeset/ renders the tip changeset |
|
772 | changeset/ renders the tip changeset | |
592 |
|
773 | |||
593 | $ request json-rev |
|
774 | $ request json-rev |
General Comments 0
You need to be logged in to leave comments.
Login now