Fossil

Check-in [89ab1185bf]
Login

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

Overview
Comment:Disable the "Diffs" link from the check-in information page. Better to use the click-to-diff feature of the graph. The code was disabled using #if 0 so it is easy to reactivate it if desired.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 89ab1185bfdba4b3e9bcd63c8f558f307500f1d7
User & Date: drh 2012-12-06 02:51:56.109
Context
2012-12-07
12:50
Get self-registration working again after adding javascript-activated forms. ... (check-in: 54085d52c4 user: drh tags: trunk)
2012-12-06
02:51
Disable the "Diffs" link from the check-in information page. Better to use the click-to-diff feature of the graph. The code was disabled using #if 0 so it is easy to reactivate it if desired. ... (check-in: 89ab1185bf user: drh tags: trunk)
02:44
Increase the maximum graph with to 40 rails. Fix the graph display for individual files, which was broken by the prior change. ... (check-in: 8d4ee62b18 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/info.c.
569
570
571
572
573
574
575

576
577
578
579
580
581
582

      /* Select a few other branches to diff against */
      zThisBranch = db_text("trunk", "SELECT value FROM tagxref"
                                     " WHERE tagid=%d AND tagtype>0"
                                     "   AND rid=%d",
                                     TAG_BRANCH, rid);


      /* Find nearby leaves to offer to diff against */
      db_prepare(&q,
         "SELECT tagxref.value, blob.uuid, min(%.17g-event.mtime)"
         "  FROM leaf, event, tagxref, blob"
         " WHERE event.mtime BETWEEN %.17g AND %.17g"
         "   AND event.type='ci'"
         "   AND event.objid=leaf.rid"







>







569
570
571
572
573
574
575
576
577
578
579
580
581
582
583

      /* Select a few other branches to diff against */
      zThisBranch = db_text("trunk", "SELECT value FROM tagxref"
                                     " WHERE tagid=%d AND tagtype>0"
                                     "   AND rid=%d",
                                     TAG_BRANCH, rid);

#if 0
      /* Find nearby leaves to offer to diff against */
      db_prepare(&q,
         "SELECT tagxref.value, blob.uuid, min(%.17g-event.mtime)"
         "  FROM leaf, event, tagxref, blob"
         " WHERE event.mtime BETWEEN %.17g AND %.17g"
         "   AND event.type='ci'"
         "   AND event.objid=leaf.rid"
612
613
614
615
616
617
618

619
620
621
622
623
624
625
        }
        @ %z(href("%R/vdiff?from=root:%S&to=%S",zUuid,zUuid))root of
        @ this branch</a>
      }
      if( seenDiffTitle ){
        @ </td></tr>
      }


      /* The Download: line */
      if( g.perm.Zip ){
        char *zUrl = mprintf("%R/tarball/%t-%S.tar.gz?uuid=%s",
                             zProjName, zUuid, zUuid);
        @ </td></tr>
        @ <tr><th>Downloads:</th><td>







>







613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
        }
        @ %z(href("%R/vdiff?from=root:%S&to=%S",zUuid,zUuid))root of
        @ this branch</a>
      }
      if( seenDiffTitle ){
        @ </td></tr>
      }
#endif

      /* The Download: line */
      if( g.perm.Zip ){
        char *zUrl = mprintf("%R/tarball/%t-%S.tar.gz?uuid=%s",
                             zProjName, zUuid, zUuid);
        @ </td></tr>
        @ <tr><th>Downloads:</th><td>