Fossil

Check-in [2af7fedd67]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the spelling of "legacy" in the "test-fingerprint" command. Also show the current Fossil version in the "test-fingerprint" command.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2af7fedd67c08dbf3280fc1721b5c4569ce09635866074892ed8290fe07daf70
User & Date: drh 2020-01-02 14:35:51.444
Context
2020-01-08
18:05
Clarified point 2.6 in fossil-v-git.wiki to address feedback from Hacker News user balfirevic here: [https://news.ycombinator.com/item?id=21974942] check-in: f6e04cc423 user: wyoung tags: trunk
17:56
Edit the Executive Summary to mention merge-in: prefix. check-in: 63f5031476 user: ashepilko tags: trunk
2020-01-03
16:39
Add --inverse|-v flag to tag ls, per discussion at https://fossil-scm.org/forum/forumpost/944e611710. Closed-Leaf check-in: e170afb936 user: stephan tags: tag-ls-inverse
16:34
Merged in trunk. check-in: 5a9414e49e user: stephan tags: forum-edit-deltify
14:28
Merged in trunk. check-in: 04e1c97854 user: stephan tags: mistake
2020-01-02
14:35
Fix the spelling of "legacy" in the "test-fingerprint" command. Also show the current Fossil version in the "test-fingerprint" command. check-in: 2af7fedd67 user: drh tags: trunk
2019-12-26
02:08
Fix a comment describing the meaning of the BACKLINK.SRCID field of the repository schema. No changes to code. check-in: 088aabafd7 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018


4019
4020
4021
4022
4023
4024
4025
  int rcvid = 0;
  db_find_and_open_repository(OPEN_ANY_SCHEMA,0);
  if( g.argc==3 ){
    rcvid = atoi(g.argv[2]);
  }else if( g.argc!=2 ){
    fossil_fatal("wrong number of arguments");
  } 
  fossil_print("legecy:              %z\n", db_fingerprint(rcvid, 0));
  fossil_print("version-1:           %z\n", db_fingerprint(rcvid, 1));
  if( g.localOpen ){
    fossil_print("localdb:             %z\n", db_lget("fingerprint","(none)"));
    fossil_print("db_fingerprint_ok(): %d\n", db_fingerprint_ok());
  }


}

/*
** Set the value of the "checkout" entry in the VVAR table.
**
** Also set "fingerprint" and "checkout-hash".
*/







|





>
>







4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
  int rcvid = 0;
  db_find_and_open_repository(OPEN_ANY_SCHEMA,0);
  if( g.argc==3 ){
    rcvid = atoi(g.argv[2]);
  }else if( g.argc!=2 ){
    fossil_fatal("wrong number of arguments");
  } 
  fossil_print("legacy:              %z\n", db_fingerprint(rcvid, 0));
  fossil_print("version-1:           %z\n", db_fingerprint(rcvid, 1));
  if( g.localOpen ){
    fossil_print("localdb:             %z\n", db_lget("fingerprint","(none)"));
    fossil_print("db_fingerprint_ok(): %d\n", db_fingerprint_ok());
  }
  fossil_print("Fossil version:      %s - %.10s %.19s\n", 
    RELEASE_VERSION, MANIFEST_DATE, MANIFEST_UUID);
}

/*
** Set the value of the "checkout" entry in the VVAR table.
**
** Also set "fingerprint" and "checkout-hash".
*/