Fossil SCM

Fix the spelling of "legacy" in the "test-fingerprint" command. Also show the current Fossil version in the "test-fingerprint" command.

drh 2020-01-02 14:35 trunk
Commit 2af7fedd67c08dbf3280fc1721b5c4569ce09635866074892ed8290fe07daf70
1 file changed +3 -1
+3 -1
--- src/db.c
+++ src/db.c
@@ -4008,16 +4008,18 @@
40084008
if( g.argc==3 ){
40094009
rcvid = atoi(g.argv[2]);
40104010
}else if( g.argc!=2 ){
40114011
fossil_fatal("wrong number of arguments");
40124012
}
4013
- fossil_print("legecy: %z\n", db_fingerprint(rcvid, 0));
4013
+ fossil_print("legacy: %z\n", db_fingerprint(rcvid, 0));
40144014
fossil_print("version-1: %z\n", db_fingerprint(rcvid, 1));
40154015
if( g.localOpen ){
40164016
fossil_print("localdb: %z\n", db_lget("fingerprint","(none)"));
40174017
fossil_print("db_fingerprint_ok(): %d\n", db_fingerprint_ok());
40184018
}
4019
+ fossil_print("Fossil version: %s - %.10s %.19s\n",
4020
+ RELEASE_VERSION, MANIFEST_DATE, MANIFEST_UUID);
40194021
}
40204022
40214023
/*
40224024
** Set the value of the "checkout" entry in the VVAR table.
40234025
**
40244026
--- 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

Keyboard Shortcuts

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