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.
Commit
f8d6e8c12ad742747aa17f5e35a0c54759dba3991df2201d3456aeb6bede7ba0
Parent
6fd7e00d55cdf42…
1 file changed
+2
| --- www/json-api/api-checkout.md | ||
| +++ www/json-api/api-checkout.md | ||
| @@ -46,7 +46,9 @@ | ||
| 46 | 46 | an array of strings if more than one change was made, e.g. `"edited"` |
| 47 | 47 | and `"renamed"`. The status strings include:\ |
| 48 | 48 | `deleted`, `new`, `notAFile`, `missing`, `updatedByMerge`, |
| 49 | 49 | `updatedByIntegrate`, `addedBymerge`, `addedByIntegrate`, |
| 50 | 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. | |
| 51 | 53 | - TODO: Info for the parent version is currently missing. |
| 52 | 54 | - TODO: "merged with" info for the checkout is currently missing. |
| 53 | 55 |
| --- 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 |