Fossil SCM
Code normalization; tabs->spaces.
Commit
de30eec201b6100df0ac081077c7d53e45089d7c
Parent
aed6fe5308202bd…
2 files changed
+2
-2
+3
-3
+2
-2
| --- src/add.c | ||
| +++ src/add.c | ||
| @@ -79,12 +79,12 @@ | ||
| 79 | 79 | static const struct { |
| 80 | 80 | const char *fname; |
| 81 | 81 | int flg; |
| 82 | 82 | }aManifestflags[] = { |
| 83 | 83 | { "manifest", MFESTFLG_RAW }, |
| 84 | - { "manifest.uuid", MFESTFLG_UUID }, | |
| 85 | - { "manifest.tags", MFESTFLG_TAGS } | |
| 84 | + { "manifest.uuid", MFESTFLG_UUID }, | |
| 85 | + { "manifest.tags", MFESTFLG_TAGS } | |
| 86 | 86 | }; |
| 87 | 87 | static const char *azManifests[3]; |
| 88 | 88 | |
| 89 | 89 | /* |
| 90 | 90 | ** Names of repository files, if they exist in the checkout. |
| 91 | 91 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -79,12 +79,12 @@ | |
| 79 | static const struct { |
| 80 | const char *fname; |
| 81 | int flg; |
| 82 | }aManifestflags[] = { |
| 83 | { "manifest", MFESTFLG_RAW }, |
| 84 | { "manifest.uuid", MFESTFLG_UUID }, |
| 85 | { "manifest.tags", MFESTFLG_TAGS } |
| 86 | }; |
| 87 | static const char *azManifests[3]; |
| 88 | |
| 89 | /* |
| 90 | ** Names of repository files, if they exist in the checkout. |
| 91 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -79,12 +79,12 @@ | |
| 79 | static const struct { |
| 80 | const char *fname; |
| 81 | int flg; |
| 82 | }aManifestflags[] = { |
| 83 | { "manifest", MFESTFLG_RAW }, |
| 84 | { "manifest.uuid", MFESTFLG_UUID }, |
| 85 | { "manifest.tags", MFESTFLG_TAGS } |
| 86 | }; |
| 87 | static const char *azManifests[3]; |
| 88 | |
| 89 | /* |
| 90 | ** Names of repository files, if they exist in the checkout. |
| 91 |
+3
-3
| --- src/checkout.c | ||
| +++ src/checkout.c | ||
| @@ -147,23 +147,23 @@ | ||
| 147 | 147 | content_get(vid, &manifest); |
| 148 | 148 | zManFile = mprintf("%smanifest", g.zLocalRoot); |
| 149 | 149 | blob_zero(&hash); |
| 150 | 150 | sha1sum_blob(&manifest, &hash); |
| 151 | 151 | sterilize_manifest(&manifest); |
| 152 | - if( flg & MFESTFLG_RAW ){ | |
| 152 | + if( flg & MFESTFLG_RAW ){ | |
| 153 | 153 | blob_write_to_file(&manifest, zManFile); |
| 154 | 154 | } |
| 155 | 155 | free(zManFile); |
| 156 | 156 | } |
| 157 | - if( flg & MFESTFLG_UUID ){ | |
| 157 | + if( flg & MFESTFLG_UUID ){ | |
| 158 | 158 | zManFile = mprintf("%smanifest.uuid", g.zLocalRoot); |
| 159 | 159 | blob_append(&hash, "\n", 1); |
| 160 | 160 | blob_write_to_file(&hash, zManFile); |
| 161 | 161 | free(zManFile); |
| 162 | 162 | blob_reset(&hash); |
| 163 | 163 | } |
| 164 | - if( flg & MFESTFLG_TAGS ){ | |
| 164 | + if( flg & MFESTFLG_TAGS ){ | |
| 165 | 165 | blob_zero(&taglist); |
| 166 | 166 | zManFile = mprintf("%smanifest.tags", g.zLocalRoot); |
| 167 | 167 | get_checkin_taglist(vid, &taglist); |
| 168 | 168 | blob_write_to_file(&taglist, zManFile); |
| 169 | 169 | free(zManFile); |
| 170 | 170 |
| --- src/checkout.c | |
| +++ src/checkout.c | |
| @@ -147,23 +147,23 @@ | |
| 147 | content_get(vid, &manifest); |
| 148 | zManFile = mprintf("%smanifest", g.zLocalRoot); |
| 149 | blob_zero(&hash); |
| 150 | sha1sum_blob(&manifest, &hash); |
| 151 | sterilize_manifest(&manifest); |
| 152 | if( flg & MFESTFLG_RAW ){ |
| 153 | blob_write_to_file(&manifest, zManFile); |
| 154 | } |
| 155 | free(zManFile); |
| 156 | } |
| 157 | if( flg & MFESTFLG_UUID ){ |
| 158 | zManFile = mprintf("%smanifest.uuid", g.zLocalRoot); |
| 159 | blob_append(&hash, "\n", 1); |
| 160 | blob_write_to_file(&hash, zManFile); |
| 161 | free(zManFile); |
| 162 | blob_reset(&hash); |
| 163 | } |
| 164 | if( flg & MFESTFLG_TAGS ){ |
| 165 | blob_zero(&taglist); |
| 166 | zManFile = mprintf("%smanifest.tags", g.zLocalRoot); |
| 167 | get_checkin_taglist(vid, &taglist); |
| 168 | blob_write_to_file(&taglist, zManFile); |
| 169 | free(zManFile); |
| 170 |
| --- src/checkout.c | |
| +++ src/checkout.c | |
| @@ -147,23 +147,23 @@ | |
| 147 | content_get(vid, &manifest); |
| 148 | zManFile = mprintf("%smanifest", g.zLocalRoot); |
| 149 | blob_zero(&hash); |
| 150 | sha1sum_blob(&manifest, &hash); |
| 151 | sterilize_manifest(&manifest); |
| 152 | if( flg & MFESTFLG_RAW ){ |
| 153 | blob_write_to_file(&manifest, zManFile); |
| 154 | } |
| 155 | free(zManFile); |
| 156 | } |
| 157 | if( flg & MFESTFLG_UUID ){ |
| 158 | zManFile = mprintf("%smanifest.uuid", g.zLocalRoot); |
| 159 | blob_append(&hash, "\n", 1); |
| 160 | blob_write_to_file(&hash, zManFile); |
| 161 | free(zManFile); |
| 162 | blob_reset(&hash); |
| 163 | } |
| 164 | if( flg & MFESTFLG_TAGS ){ |
| 165 | blob_zero(&taglist); |
| 166 | zManFile = mprintf("%smanifest.tags", g.zLocalRoot); |
| 167 | get_checkin_taglist(vid, &taglist); |
| 168 | blob_write_to_file(&taglist, zManFile); |
| 169 | free(zManFile); |
| 170 |