Fossil

Check-in [f99b8819]
Login

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

Overview
Comment:Change the title on the /test-rename-list page to use "file name changes".
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f99b88199d55404eaa3a4ff8392f464b1ecceca930f295e44f4cd59487741c69
User & Date: drh 2018-05-05 19:04:20.001
Context
2018-05-05
19:08
Make the banner "filename" (one word) rather than "file name". ... (check-in: c027368b user: drh tags: trunk)
19:04
Change the title on the /test-rename-list page to use "file name changes". ... (check-in: f99b8819 user: drh tags: trunk)
19:02
Further enhance the test-rename-list to include a title with the number of renames and the number of associated check-ins. ... (check-in: b6aa2a23 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/path.c.
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
    db_multi_exec("%s", zDistinctRenameQuery/*safe-for-%s*/);
    style_submenu_element("All", "%R/test-rename-list?all");
  }
  nRename = db_int(0, "SELECT count(*) FROM renames;");
  nCheckin = db_int(0, "SELECT count(DISTINCT checkin) FROM renames;");
  db_prepare(&q, "SELECT date, old_name, new_name, checkin FROM renames"
                 " ORDER BY date DESC, old_name ASC");
  @ <h1>%d(nRename) rename operations in %d(nCheckin) check-ins</h1>
  @ <table class='sortable' data-column-types='tttt' data-init-sort='1'\
  @  border="1" cellpadding="2" cellspacing="0">
  @ <thead><tr><th>Date &amp; Time</th>
  @ <th>Old Name</th>
  @ <th>New Name</th>
  @ <th>Check-in</th></tr></thead><tbody>
  while( db_step(&q)==SQLITE_ROW ){







|







605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
    db_multi_exec("%s", zDistinctRenameQuery/*safe-for-%s*/);
    style_submenu_element("All", "%R/test-rename-list?all");
  }
  nRename = db_int(0, "SELECT count(*) FROM renames;");
  nCheckin = db_int(0, "SELECT count(DISTINCT checkin) FROM renames;");
  db_prepare(&q, "SELECT date, old_name, new_name, checkin FROM renames"
                 " ORDER BY date DESC, old_name ASC");
  @ <h1>%d(nRename) file name changes in %d(nCheckin) check-ins</h1>
  @ <table class='sortable' data-column-types='tttt' data-init-sort='1'\
  @  border="1" cellpadding="2" cellspacing="0">
  @ <thead><tr><th>Date &amp; Time</th>
  @ <th>Old Name</th>
  @ <th>New Name</th>
  @ <th>Check-in</th></tr></thead><tbody>
  while( db_step(&q)==SQLITE_ROW ){