Fossil SCM
Fix harmless comment and spacing typos.
Commit
3a66ed0bee8ab3fc2d2221149f449a9ebe09ec17
Parent
f2980d8995a04c4…
2 files changed
+1
-1
+2
-2
+1
-1
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -457,11 +457,11 @@ | ||
| 457 | 457 | |
| 458 | 458 | /* |
| 459 | 459 | ** Make sure the g.rcvid global variable has been initialized. |
| 460 | 460 | ** |
| 461 | 461 | ** If the g.zIpAddr variable has not been set when this routine is |
| 462 | -** called, use zSrc as the source of content for the the rcvfrom | |
| 462 | +** called, use zSrc as the source of content for the rcvfrom | |
| 463 | 463 | ** table entry. |
| 464 | 464 | */ |
| 465 | 465 | void content_rcvid_init(const char *zSrc){ |
| 466 | 466 | if( g.rcvid==0 ){ |
| 467 | 467 | user_select(); |
| 468 | 468 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -457,11 +457,11 @@ | |
| 457 | |
| 458 | /* |
| 459 | ** Make sure the g.rcvid global variable has been initialized. |
| 460 | ** |
| 461 | ** If the g.zIpAddr variable has not been set when this routine is |
| 462 | ** called, use zSrc as the source of content for the the rcvfrom |
| 463 | ** table entry. |
| 464 | */ |
| 465 | void content_rcvid_init(const char *zSrc){ |
| 466 | if( g.rcvid==0 ){ |
| 467 | user_select(); |
| 468 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -457,11 +457,11 @@ | |
| 457 | |
| 458 | /* |
| 459 | ** Make sure the g.rcvid global variable has been initialized. |
| 460 | ** |
| 461 | ** If the g.zIpAddr variable has not been set when this routine is |
| 462 | ** called, use zSrc as the source of content for the rcvfrom |
| 463 | ** table entry. |
| 464 | */ |
| 465 | void content_rcvid_init(const char *zSrc){ |
| 466 | if( g.rcvid==0 ){ |
| 467 | user_select(); |
| 468 |
+2
-2
| --- src/unversioned.c | ||
| +++ src/unversioned.c | ||
| @@ -34,11 +34,11 @@ | ||
| 34 | 34 | static const char zUnversionedInit[] = |
| 35 | 35 | @ CREATE TABLE IF NOT EXISTS repository.unversioned( |
| 36 | 36 | @ name TEXT PRIMARY KEY, -- Name of the uv file |
| 37 | 37 | @ rcvid INTEGER, -- Where received from |
| 38 | 38 | @ mtime DATETIME, -- timestamp. Seconds since 1970. |
| 39 | -@ hash TEXT, -- Content hash. NULL if a delete marker | |
| 39 | +@ hash TEXT, -- Content hash. NULL if a delete marker | |
| 40 | 40 | @ sz INTEGER, -- size of content after decompression |
| 41 | 41 | @ encoding INT, -- 0: plaintext. 1: zlib compressed |
| 42 | 42 | @ content BLOB -- content of the file. NULL if oversized |
| 43 | 43 | @ ) WITHOUT ROWID; |
| 44 | 44 | ; |
| @@ -310,11 +310,11 @@ | ||
| 310 | 310 | verify_all_options(); |
| 311 | 311 | if( g.argc!=5 ) usage("export UVFILE OUTPUT"); |
| 312 | 312 | if( unversioned_content(g.argv[3], &content) ){ |
| 313 | 313 | fossil_fatal("no such uv-file: %Q", g.argv[3]); |
| 314 | 314 | } |
| 315 | - blob_write_to_file(&content, g.argv[4]); | |
| 315 | + blob_write_to_file(&content, g.argv[4]); | |
| 316 | 316 | blob_reset(&content); |
| 317 | 317 | }else if( memcmp(zCmd, "hash", nCmd)==0 ){ /* undocumented */ |
| 318 | 318 | /* Show the hash value used during uv sync */ |
| 319 | 319 | int debugFlag = find_option("debug",0,0)!=0; |
| 320 | 320 | fossil_print("%s\n", unversioned_content_hash(debugFlag)); |
| 321 | 321 |
| --- src/unversioned.c | |
| +++ src/unversioned.c | |
| @@ -34,11 +34,11 @@ | |
| 34 | static const char zUnversionedInit[] = |
| 35 | @ CREATE TABLE IF NOT EXISTS repository.unversioned( |
| 36 | @ name TEXT PRIMARY KEY, -- Name of the uv file |
| 37 | @ rcvid INTEGER, -- Where received from |
| 38 | @ mtime DATETIME, -- timestamp. Seconds since 1970. |
| 39 | @ hash TEXT, -- Content hash. NULL if a delete marker |
| 40 | @ sz INTEGER, -- size of content after decompression |
| 41 | @ encoding INT, -- 0: plaintext. 1: zlib compressed |
| 42 | @ content BLOB -- content of the file. NULL if oversized |
| 43 | @ ) WITHOUT ROWID; |
| 44 | ; |
| @@ -310,11 +310,11 @@ | |
| 310 | verify_all_options(); |
| 311 | if( g.argc!=5 ) usage("export UVFILE OUTPUT"); |
| 312 | if( unversioned_content(g.argv[3], &content) ){ |
| 313 | fossil_fatal("no such uv-file: %Q", g.argv[3]); |
| 314 | } |
| 315 | blob_write_to_file(&content, g.argv[4]); |
| 316 | blob_reset(&content); |
| 317 | }else if( memcmp(zCmd, "hash", nCmd)==0 ){ /* undocumented */ |
| 318 | /* Show the hash value used during uv sync */ |
| 319 | int debugFlag = find_option("debug",0,0)!=0; |
| 320 | fossil_print("%s\n", unversioned_content_hash(debugFlag)); |
| 321 |
| --- src/unversioned.c | |
| +++ src/unversioned.c | |
| @@ -34,11 +34,11 @@ | |
| 34 | static const char zUnversionedInit[] = |
| 35 | @ CREATE TABLE IF NOT EXISTS repository.unversioned( |
| 36 | @ name TEXT PRIMARY KEY, -- Name of the uv file |
| 37 | @ rcvid INTEGER, -- Where received from |
| 38 | @ mtime DATETIME, -- timestamp. Seconds since 1970. |
| 39 | @ hash TEXT, -- Content hash. NULL if a delete marker |
| 40 | @ sz INTEGER, -- size of content after decompression |
| 41 | @ encoding INT, -- 0: plaintext. 1: zlib compressed |
| 42 | @ content BLOB -- content of the file. NULL if oversized |
| 43 | @ ) WITHOUT ROWID; |
| 44 | ; |
| @@ -310,11 +310,11 @@ | |
| 310 | verify_all_options(); |
| 311 | if( g.argc!=5 ) usage("export UVFILE OUTPUT"); |
| 312 | if( unversioned_content(g.argv[3], &content) ){ |
| 313 | fossil_fatal("no such uv-file: %Q", g.argv[3]); |
| 314 | } |
| 315 | blob_write_to_file(&content, g.argv[4]); |
| 316 | blob_reset(&content); |
| 317 | }else if( memcmp(zCmd, "hash", nCmd)==0 ){ /* undocumented */ |
| 318 | /* Show the hash value used during uv sync */ |
| 319 | int debugFlag = find_option("debug",0,0)!=0; |
| 320 | fossil_print("%s\n", unversioned_content_hash(debugFlag)); |
| 321 |