Fossil

Check-in [7faa1f4e23]
Login

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

Overview
Comment:Fix a bug in [1ef6499a9af8] which caused resolution of certain builtin symbolic names to not resolve.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7faa1f4e23113872d352369864159641a2cac345e8f509ad81c5bfd088470467
User & Date: stephan 2023-09-10 17:34:06.627
Context
2023-09-11
08:16
Added the "Converting Repositories on Windows" section to the inout doc to cover a problem case involving PowerShell and to give solutions. check-in: 19c347b460 user: wyoung tags: trunk
2023-09-10
17:34
Fix a bug in [1ef6499a9af8] which caused resolution of certain builtin symbolic names to not resolve. check-in: 7faa1f4e23 user: stephan tags: trunk
12:46
Help text typo fix from [forum:987bf1b023|forum post 987bf1b023]. check-in: 0fd4bde736 user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/name.c.
432
433
434
435
436
437
438




439
440
441
442
443
444
445
446
447
448
449
450
      "SELECT objid"
      "  FROM event"
      " WHERE type='ci'"
      " ORDER BY event.mtime DESC"
    );
    if( rid ) return rid;
  }





  /* special keywords: "prev", "previous", "current", "ckout", and
  ** "next" */
  if( (zType[0]=='*' || isCheckin!=0)
      && 0>(ridCkout = db_lget_int("checkout",0)) ){
    if( fossil_strcmp(zTag, "current")==0 ){
      rid = ridCkout;
    }else if( fossil_strcmp(zTag, "prev")==0
              || fossil_strcmp(zTag, "previous")==0 ){
      rid = db_int(0, "SELECT pid FROM plink WHERE cid=%d AND isprim",
                   ridCkout);
    }else if( fossil_strcmp(zTag, "next")==0 ){







>
>
>
>



|
<







432
433
434
435
436
437
438
439
440
441
442
443
444
445
446

447
448
449
450
451
452
453
      "SELECT objid"
      "  FROM event"
      " WHERE type='ci'"
      " ORDER BY event.mtime DESC"
    );
    if( rid ) return rid;
  }

  if( g.localOpen ) {
    ridCkout = db_lget_int("checkout",0);
  }

  /* special keywords: "prev", "previous", "current", "ckout", and
  ** "next" */
  if( (zType[0]=='*' || isCheckin!=0) && 0<ridCkout ){

    if( fossil_strcmp(zTag, "current")==0 ){
      rid = ridCkout;
    }else if( fossil_strcmp(zTag, "prev")==0
              || fossil_strcmp(zTag, "previous")==0 ){
      rid = db_int(0, "SELECT pid FROM plink WHERE cid=%d AND isprim",
                   ridCkout);
    }else if( fossil_strcmp(zTag, "next")==0 ){