Fossil

Check-in [39067976f3]
Login

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

Overview
Comment:Sigh - another fix from having edited the post-processed source.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | leaves-command-branched-from
Files: files | file ages | folders
SHA3-256: 39067976f30ee1947175bfe688f5b474b282e1723867f6c3299be6fde00798ef
User & Date: stephan 2021-02-15 16:40:12.104
Context
2021-02-15
18:24
Use main-branch setting, instead of hard-coded trunk, for determining whether a given leaf should show its branch point, per forum feedback. check-in: 0d5349cd1c user: stephan tags: leaves-command-branched-from
16:40
Sigh - another fix from having edited the post-processed source. check-in: 39067976f3 user: stephan tags: leaves-command-branched-from
16:38
Fixed breakage caused by editing the post-processed source code rather than the original (emacs followed a gcc compiler error there). check-in: bbb808ca03 user: stephan tags: leaves-command-branched-from
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/descendants.c.
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
      if(ridOfRoot>0){
        zBranchPoint = mprintf(" (branched from: [%.*z])", hash_digits(0),
                               rid_to_uuid(ridOfRoot));
      }
      fossil_free(z);
    }
    z = mprintf("%s [%S] %s%s", zDate, zId, zCom,
                zBranchPoint ? zBranchPoint : 0);
    comment_print(z, zCom, 7, width, get_comment_format());
    fossil_free(z);
    fossil_free(zBranchPoint);
  }
  fossil_free(zLastBr);
  db_finalize(&q);
}







|







512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
      if(ridOfRoot>0){
        zBranchPoint = mprintf(" (branched from: [%.*z])", hash_digits(0),
                               rid_to_uuid(ridOfRoot));
      }
      fossil_free(z);
    }
    z = mprintf("%s [%S] %s%s", zDate, zId, zCom,
                zBranchPoint ? zBranchPoint : "");
    comment_print(z, zCom, 7, width, get_comment_format());
    fossil_free(z);
    fossil_free(zBranchPoint);
  }
  fossil_free(zLastBr);
  db_finalize(&q);
}