Fossil SCM

Code normalization; tabs->spaces.

jan 2016-01-04 00:36 jan-manifest-tags
Commit de30eec201b6100df0ac081077c7d53e45089d7c
2 files changed +2 -2 +3 -3
+2 -2
--- src/add.c
+++ src/add.c
@@ -79,12 +79,12 @@
7979
static const struct {
8080
const char *fname;
8181
int flg;
8282
}aManifestflags[] = {
8383
{ "manifest", MFESTFLG_RAW },
84
- { "manifest.uuid", MFESTFLG_UUID },
85
- { "manifest.tags", MFESTFLG_TAGS }
84
+ { "manifest.uuid", MFESTFLG_UUID },
85
+ { "manifest.tags", MFESTFLG_TAGS }
8686
};
8787
static const char *azManifests[3];
8888
8989
/*
9090
** Names of repository files, if they exist in the checkout.
9191
--- 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 @@
147147
content_get(vid, &manifest);
148148
zManFile = mprintf("%smanifest", g.zLocalRoot);
149149
blob_zero(&hash);
150150
sha1sum_blob(&manifest, &hash);
151151
sterilize_manifest(&manifest);
152
- if( flg & MFESTFLG_RAW ){
152
+ if( flg & MFESTFLG_RAW ){
153153
blob_write_to_file(&manifest, zManFile);
154154
}
155155
free(zManFile);
156156
}
157
- if( flg & MFESTFLG_UUID ){
157
+ if( flg & MFESTFLG_UUID ){
158158
zManFile = mprintf("%smanifest.uuid", g.zLocalRoot);
159159
blob_append(&hash, "\n", 1);
160160
blob_write_to_file(&hash, zManFile);
161161
free(zManFile);
162162
blob_reset(&hash);
163163
}
164
- if( flg & MFESTFLG_TAGS ){
164
+ if( flg & MFESTFLG_TAGS ){
165165
blob_zero(&taglist);
166166
zManFile = mprintf("%smanifest.tags", g.zLocalRoot);
167167
get_checkin_taglist(vid, &taglist);
168168
blob_write_to_file(&taglist, zManFile);
169169
free(zManFile);
170170
--- 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

Keyboard Shortcuts

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