Show More
@@ -1072,7 +1072,7 b' class jsonchangeset(changeset_printer):' | |||||
1072 | ", ".join('"%s": "%s"' % (j(k), j(v)) |
|
1072 | ", ".join('"%s": "%s"' % (j(k), j(v)) | |
1073 | for k, v in ctx.extra().items())) |
|
1073 | for k, v in ctx.extra().items())) | |
1074 |
|
1074 | |||
1075 |
files = ctx.status(ctx |
|
1075 | files = ctx.p1().status(ctx) | |
1076 | self.ui.write(',\n "modified": [%s]' % |
|
1076 | self.ui.write(',\n "modified": [%s]' % | |
1077 | ", ".join('"%s"' % j(f) for f in files[0])) |
|
1077 | ", ".join('"%s"' % j(f) for f in files[0])) | |
1078 | self.ui.write(',\n "added": [%s]' % |
|
1078 | self.ui.write(',\n "added": [%s]' % |
@@ -715,8 +715,8 b' honor --git but not format-breaking diff' | |||||
715 | "manifest": "94961b75a2da554b4df6fb599e5bfc7d48de0c64", |
|
715 | "manifest": "94961b75a2da554b4df6fb599e5bfc7d48de0c64", | |
716 | "extra": {"branch": "default"}, |
|
716 | "extra": {"branch": "default"}, | |
717 | "modified": [], |
|
717 | "modified": [], | |
718 |
"added": [" |
|
718 | "added": ["fourth", "third"], | |
719 |
"removed": [" |
|
719 | "removed": ["second"] | |
720 | }, |
|
720 | }, | |
721 | { |
|
721 | { | |
722 | "rev": 7, |
|
722 | "rev": 7, | |
@@ -732,8 +732,8 b' honor --git but not format-breaking diff' | |||||
732 | "manifest": "f2dbc354b94e5ec0b4f10680ee0cee816101d0bf", |
|
732 | "manifest": "f2dbc354b94e5ec0b4f10680ee0cee816101d0bf", | |
733 | "extra": {"branch": "default"}, |
|
733 | "extra": {"branch": "default"}, | |
734 | "modified": [], |
|
734 | "modified": [], | |
735 | "added": [], |
|
735 | "added": ["second"], | |
736 |
"removed": [ |
|
736 | "removed": [] | |
737 | }, |
|
737 | }, | |
738 | { |
|
738 | { | |
739 | "rev": 6, |
|
739 | "rev": 6, | |
@@ -766,8 +766,8 b' honor --git but not format-breaking diff' | |||||
766 | "manifest": "4dc3def4f9b4c6e8de820f6ee74737f91e96a216", |
|
766 | "manifest": "4dc3def4f9b4c6e8de820f6ee74737f91e96a216", | |
767 | "extra": {"branch": "default"}, |
|
767 | "extra": {"branch": "default"}, | |
768 | "modified": [], |
|
768 | "modified": [], | |
769 | "added": [], |
|
769 | "added": ["d"], | |
770 |
"removed": [ |
|
770 | "removed": [] | |
771 | }, |
|
771 | }, | |
772 | { |
|
772 | { | |
773 | "rev": 4, |
|
773 | "rev": 4, | |
@@ -817,8 +817,8 b' honor --git but not format-breaking diff' | |||||
817 | "manifest": "6e0e82995c35d0d57a52aca8da4e56139e06b4b1", |
|
817 | "manifest": "6e0e82995c35d0d57a52aca8da4e56139e06b4b1", | |
818 | "extra": {"branch": "default"}, |
|
818 | "extra": {"branch": "default"}, | |
819 | "modified": [], |
|
819 | "modified": [], | |
820 | "added": [], |
|
820 | "added": ["c"], | |
821 |
"removed": [ |
|
821 | "removed": [] | |
822 | }, |
|
822 | }, | |
823 | { |
|
823 | { | |
824 | "rev": 1, |
|
824 | "rev": 1, | |
@@ -834,8 +834,8 b' honor --git but not format-breaking diff' | |||||
834 | "manifest": "4e8d705b1e53e3f9375e0e60dc7b525d8211fe55", |
|
834 | "manifest": "4e8d705b1e53e3f9375e0e60dc7b525d8211fe55", | |
835 | "extra": {"branch": "default"}, |
|
835 | "extra": {"branch": "default"}, | |
836 | "modified": [], |
|
836 | "modified": [], | |
837 | "added": [], |
|
837 | "added": ["b"], | |
838 |
"removed": [ |
|
838 | "removed": [] | |
839 | }, |
|
839 | }, | |
840 | { |
|
840 | { | |
841 | "rev": 0, |
|
841 | "rev": 0, | |
@@ -851,8 +851,8 b' honor --git but not format-breaking diff' | |||||
851 | "manifest": "a0c8bcbbb45c63b90b70ad007bf38961f64f2af0", |
|
851 | "manifest": "a0c8bcbbb45c63b90b70ad007bf38961f64f2af0", | |
852 | "extra": {"branch": "default"}, |
|
852 | "extra": {"branch": "default"}, | |
853 | "modified": [], |
|
853 | "modified": [], | |
854 | "added": [], |
|
854 | "added": ["a"], | |
855 |
"removed": [ |
|
855 | "removed": [] | |
856 | } |
|
856 | } | |
857 | ] |
|
857 | ] | |
858 |
|
858 |
General Comments 0
You need to be logged in to leave comments.
Login now