Fossil SCM
Rename the 'control' artifact type to 'tag' for purposes of artifact_to_json(), per /chat discussion.
Commit
5b11c1d65069eb0bc1903e3a0d7746429d99136c32b2971f8a481612b1921ac0
Parent
024c0ff07f0d6f5…
1 file changed
+1
-1
+1
-1
| --- src/manifest.c | ||
| +++ src/manifest.c | ||
| @@ -2920,11 +2920,11 @@ | ||
| 2920 | 2920 | */ |
| 2921 | 2921 | const char * artifact_type_to_name(int typeId){ |
| 2922 | 2922 | switch(typeId){ |
| 2923 | 2923 | case CFTYPE_MANIFEST: return "checkin"; |
| 2924 | 2924 | case CFTYPE_CLUSTER: return "cluster"; |
| 2925 | - case CFTYPE_CONTROL: return "control"; | |
| 2925 | + case CFTYPE_CONTROL: return "tag"; | |
| 2926 | 2926 | case CFTYPE_WIKI: return "wiki"; |
| 2927 | 2927 | case CFTYPE_TICKET: return "ticket"; |
| 2928 | 2928 | case CFTYPE_ATTACHMENT: return "attachment"; |
| 2929 | 2929 | case CFTYPE_EVENT: return "event"; |
| 2930 | 2930 | case CFTYPE_FORUM: return "forumpost"; |
| 2931 | 2931 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -2920,11 +2920,11 @@ | |
| 2920 | */ |
| 2921 | const char * artifact_type_to_name(int typeId){ |
| 2922 | switch(typeId){ |
| 2923 | case CFTYPE_MANIFEST: return "checkin"; |
| 2924 | case CFTYPE_CLUSTER: return "cluster"; |
| 2925 | case CFTYPE_CONTROL: return "control"; |
| 2926 | case CFTYPE_WIKI: return "wiki"; |
| 2927 | case CFTYPE_TICKET: return "ticket"; |
| 2928 | case CFTYPE_ATTACHMENT: return "attachment"; |
| 2929 | case CFTYPE_EVENT: return "event"; |
| 2930 | case CFTYPE_FORUM: return "forumpost"; |
| 2931 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -2920,11 +2920,11 @@ | |
| 2920 | */ |
| 2921 | const char * artifact_type_to_name(int typeId){ |
| 2922 | switch(typeId){ |
| 2923 | case CFTYPE_MANIFEST: return "checkin"; |
| 2924 | case CFTYPE_CLUSTER: return "cluster"; |
| 2925 | case CFTYPE_CONTROL: return "tag"; |
| 2926 | case CFTYPE_WIKI: return "wiki"; |
| 2927 | case CFTYPE_TICKET: return "ticket"; |
| 2928 | case CFTYPE_ATTACHMENT: return "attachment"; |
| 2929 | case CFTYPE_EVENT: return "event"; |
| 2930 | case CFTYPE_FORUM: return "forumpost"; |
| 2931 |