Show More
@@ -1091,8 +1091,8 b' class jsonchangeset(changeset_printer):' | |||||
1091 |
|
1091 | |||
1092 | if copies: |
|
1092 | if copies: | |
1093 | self.ui.write(',\n "copies": {%s}' % |
|
1093 | self.ui.write(',\n "copies": {%s}' % | |
1094 |
", ".join('"%s": %s' % (j(k), j( |
|
1094 | ", ".join('"%s": "%s"' % (j(k), j(v)) | |
1095 | for k in copies)) |
|
1095 | for k, v in copies)) | |
1096 |
|
1096 | |||
1097 | matchfn = self.matchfn |
|
1097 | matchfn = self.matchfn | |
1098 | if matchfn: |
|
1098 | if matchfn: |
@@ -494,7 +494,23 b' log copies with hardcoded style and with' | |||||
494 | e |
|
494 | e | |
495 |
|
495 | |||
496 |
|
496 | |||
497 |
|
497 | $ hg log -vC -r4 -Tjson | ||
|
498 | [ | |||
|
499 | { | |||
|
500 | "rev": 4, | |||
|
501 | "node": "7e4639b4691b9f84b81036a8d4fb218ce3c5e3a3", | |||
|
502 | "branch": "default", | |||
|
503 | "phase": "draft", | |||
|
504 | "user": "test", | |||
|
505 | "date": [5, 0], | |||
|
506 | "desc": "e", | |||
|
507 | "bookmarks": [], | |||
|
508 | "tags": ["tip"], | |||
|
509 | "parents": ["2ca5ba7019804f1f597249caddf22a64d34df0ba"], | |||
|
510 | "files": ["dir/b", "e"], | |||
|
511 | "copies": {"e": "dir/b"} | |||
|
512 | } | |||
|
513 | ] | |||
498 |
|
514 | |||
499 | log copies, non-linear manifest |
|
515 | log copies, non-linear manifest | |
500 |
|
516 |
General Comments 0
You need to be logged in to leave comments.
Login now