Fossil SCM
Fix the spelling of "legacy" in the "test-fingerprint" command. Also show the current Fossil version in the "test-fingerprint" command.
Commit
2af7fedd67c08dbf3280fc1721b5c4569ce09635866074892ed8290fe07daf70
Parent
088aabafd7e50ba…
1 file changed
+3
-1
M
src/db.c
+3
-1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -4008,16 +4008,18 @@ | ||
| 4008 | 4008 | if( g.argc==3 ){ |
| 4009 | 4009 | rcvid = atoi(g.argv[2]); |
| 4010 | 4010 | }else if( g.argc!=2 ){ |
| 4011 | 4011 | fossil_fatal("wrong number of arguments"); |
| 4012 | 4012 | } |
| 4013 | - fossil_print("legecy: %z\n", db_fingerprint(rcvid, 0)); | |
| 4013 | + fossil_print("legacy: %z\n", db_fingerprint(rcvid, 0)); | |
| 4014 | 4014 | fossil_print("version-1: %z\n", db_fingerprint(rcvid, 1)); |
| 4015 | 4015 | if( g.localOpen ){ |
| 4016 | 4016 | fossil_print("localdb: %z\n", db_lget("fingerprint","(none)")); |
| 4017 | 4017 | fossil_print("db_fingerprint_ok(): %d\n", db_fingerprint_ok()); |
| 4018 | 4018 | } |
| 4019 | + fossil_print("Fossil version: %s - %.10s %.19s\n", | |
| 4020 | + RELEASE_VERSION, MANIFEST_DATE, MANIFEST_UUID); | |
| 4019 | 4021 | } |
| 4020 | 4022 | |
| 4021 | 4023 | /* |
| 4022 | 4024 | ** Set the value of the "checkout" entry in the VVAR table. |
| 4023 | 4025 | ** |
| 4024 | 4026 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -4008,16 +4008,18 @@ | |
| 4008 | if( g.argc==3 ){ |
| 4009 | rcvid = atoi(g.argv[2]); |
| 4010 | }else if( g.argc!=2 ){ |
| 4011 | fossil_fatal("wrong number of arguments"); |
| 4012 | } |
| 4013 | fossil_print("legecy: %z\n", db_fingerprint(rcvid, 0)); |
| 4014 | fossil_print("version-1: %z\n", db_fingerprint(rcvid, 1)); |
| 4015 | if( g.localOpen ){ |
| 4016 | fossil_print("localdb: %z\n", db_lget("fingerprint","(none)")); |
| 4017 | fossil_print("db_fingerprint_ok(): %d\n", db_fingerprint_ok()); |
| 4018 | } |
| 4019 | } |
| 4020 | |
| 4021 | /* |
| 4022 | ** Set the value of the "checkout" entry in the VVAR table. |
| 4023 | ** |
| 4024 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -4008,16 +4008,18 @@ | |
| 4008 | if( g.argc==3 ){ |
| 4009 | rcvid = atoi(g.argv[2]); |
| 4010 | }else if( g.argc!=2 ){ |
| 4011 | fossil_fatal("wrong number of arguments"); |
| 4012 | } |
| 4013 | fossil_print("legacy: %z\n", db_fingerprint(rcvid, 0)); |
| 4014 | fossil_print("version-1: %z\n", db_fingerprint(rcvid, 1)); |
| 4015 | if( g.localOpen ){ |
| 4016 | fossil_print("localdb: %z\n", db_lget("fingerprint","(none)")); |
| 4017 | fossil_print("db_fingerprint_ok(): %d\n", db_fingerprint_ok()); |
| 4018 | } |
| 4019 | fossil_print("Fossil version: %s - %.10s %.19s\n", |
| 4020 | RELEASE_VERSION, MANIFEST_DATE, MANIFEST_UUID); |
| 4021 | } |
| 4022 | |
| 4023 | /* |
| 4024 | ** Set the value of the "checkout" entry in the VVAR table. |
| 4025 | ** |
| 4026 |