Fossil

Check-in [661bd949]
Login

Check-in [661bd949]

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

Overview
Comment:Zero return code on a "fossil commit --dry-run". Per request on the forum.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 661bd949203c8922fa5c4c573e5547dddbdef1c2bcd9cbd11e3dc3206b77428f
User & Date: drh 2021-02-10 13:51:33
Context
2021-02-10
14:00
Show the login name on /sitemap for logged in users. ... (check-in: 480aa68d user: drh tags: trunk)
13:51
Zero return code on a "fossil commit --dry-run". Per request on the forum. ... (check-in: 661bd949 user: drh tags: trunk)
13:02
caps/ref.html: modified inlined table header style to be readable in dark-mode skins (eagle, xekri, darkmode). ... (check-in: 5d8e5eeb user: stephan tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/checkin.c.

2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816

  /* Commit */
  db_multi_exec("DELETE FROM vvar WHERE name='ci-comment'");
  db_multi_exec("PRAGMA repository.application_id=252006673;");
  db_multi_exec("PRAGMA localdb.application_id=252006674;");
  if( dryRunFlag ){
    db_end_transaction(1);
    exit(1);
  }
  db_end_transaction(0);

  if( outputManifest & MFESTFLG_TAGS ){
    Blob tagslist;
    zManifestFile = mprintf("%smanifest.tags", g.zLocalRoot);
    blob_zero(&tagslist);







|







2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816

  /* Commit */
  db_multi_exec("DELETE FROM vvar WHERE name='ci-comment'");
  db_multi_exec("PRAGMA repository.application_id=252006673;");
  db_multi_exec("PRAGMA localdb.application_id=252006674;");
  if( dryRunFlag ){
    db_end_transaction(1);
    return;
  }
  db_end_transaction(0);

  if( outputManifest & MFESTFLG_TAGS ){
    Blob tagslist;
    zManifestFile = mprintf("%smanifest.tags", g.zLocalRoot);
    blob_zero(&tagslist);