Fossil SCM

JSON API: mention 'priorName' of renamed files in status report As discussed with Stephan in /chat. File objects in the renamed case possess a 'priorName' property in addition to the 'name' reported in all cases.

mark 2023-07-07 11:55 trunk
Commit f8d6e8c12ad742747aa17f5e35a0c54759dba3991df2201d3456aeb6bede7ba0
--- www/json-api/api-checkout.md
+++ www/json-api/api-checkout.md
@@ -46,7 +46,9 @@
4646
an array of strings if more than one change was made, e.g. `"edited"`
4747
and `"renamed"`. The status strings include:\
4848
`deleted`, `new`, `notAFile`, `missing`, `updatedByMerge`,
4949
`updatedByIntegrate`, `addedBymerge`, `addedByIntegrate`,
5050
`conflict`, `edited`, `renamed`
51
+- File objects with a `"renamed"` status will contain a `"priorName"`
52
+ property in addition to the `"name"` property reported in all cases.
5153
- TODO: Info for the parent version is currently missing.
5254
- TODO: "merged with" info for the checkout is currently missing.
5355
--- www/json-api/api-checkout.md
+++ www/json-api/api-checkout.md
@@ -46,7 +46,9 @@
46 an array of strings if more than one change was made, e.g. `"edited"`
47 and `"renamed"`. The status strings include:\
48 `deleted`, `new`, `notAFile`, `missing`, `updatedByMerge`,
49 `updatedByIntegrate`, `addedBymerge`, `addedByIntegrate`,
50 `conflict`, `edited`, `renamed`
 
 
51 - TODO: Info for the parent version is currently missing.
52 - TODO: "merged with" info for the checkout is currently missing.
53
--- www/json-api/api-checkout.md
+++ www/json-api/api-checkout.md
@@ -46,7 +46,9 @@
46 an array of strings if more than one change was made, e.g. `"edited"`
47 and `"renamed"`. The status strings include:\
48 `deleted`, `new`, `notAFile`, `missing`, `updatedByMerge`,
49 `updatedByIntegrate`, `addedBymerge`, `addedByIntegrate`,
50 `conflict`, `edited`, `renamed`
51 - File objects with a `"renamed"` status will contain a `"priorName"`
52 property in addition to the `"name"` property reported in all cases.
53 - TODO: Info for the parent version is currently missing.
54 - TODO: "merged with" info for the checkout is currently missing.
55

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button