Fossil

Check-in [07ed3fed]
Login

Check-in [07ed3fed]

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

Overview
Comment:'update' now lists the updated-from version, per off-list user request, the intent being to simplify access to the version for purposes of running a diff after seeing updates arrive.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 07ed3fedfa0a59f1a361f47b46d36d6a7cbd4e800cd345d64c6bda5c310ba471
User & Date: stephan 2022-02-17 02:38:26
Context
2022-02-17
15:04
'update' shows the commit date for the updated-from version, for consistency." ... (check-in: 971dd236 user: danield tags: trunk)
02:38
'update' now lists the updated-from version, per off-list user request, the intent being to simplify access to the version for purposes of running a diff after seeing updates arrive. ... (check-in: 07ed3fed user: stephan tags: trunk)
2022-02-16
13:22
Mention the REQUEST_URI fix in the change log. ... (check-in: ced28508 user: drh tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/update.c.

554
555
556
557
558
559
560
561
562
563
564
565


566
567
568
569
570
571
572
      }
    }
    free(zFullPath);
    free(zFullNewPath);
  }
  db_finalize(&q);
  db_finalize(&mtimeXfer);
  fossil_print("%.79c\n",'-');
  if( nUpdate==0 ){
    show_common_info(tid, "checkout:", 1, 0);
    fossil_print("%-13s None. Already up-to-date\n", "changes:");
  }else{


    show_common_info(tid, "updated-to:", 1, 0);
    fossil_print("%-13s %d file%s modified.\n", "changes:",
                 nUpdate, nUpdate>1 ? "s" : "");
  }

  /* Report on conflicts
  */







<




>
>







554
555
556
557
558
559
560

561
562
563
564
565
566
567
568
569
570
571
572
573
      }
    }
    free(zFullPath);
    free(zFullNewPath);
  }
  db_finalize(&q);
  db_finalize(&mtimeXfer);

  if( nUpdate==0 ){
    show_common_info(tid, "checkout:", 1, 0);
    fossil_print("%-13s None. Already up-to-date\n", "changes:");
  }else{
    fossil_print("%.79c\n%-13s %z\n",'-', "updated-from:",
                 rid_to_uuid(vid));
    show_common_info(tid, "updated-to:", 1, 0);
    fossil_print("%-13s %d file%s modified.\n", "changes:",
                 nUpdate, nUpdate>1 ? "s" : "");
  }

  /* Report on conflicts
  */