Fossil SCM
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.
Commit
89ab1185bfdba4b3e9bcd63c8f558f307500f1d7
Parent
8d4ee62b1876a17…
1 file changed
+2
+2
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -571,10 +571,11 @@ | ||
| 571 | 571 | zThisBranch = db_text("trunk", "SELECT value FROM tagxref" |
| 572 | 572 | " WHERE tagid=%d AND tagtype>0" |
| 573 | 573 | " AND rid=%d", |
| 574 | 574 | TAG_BRANCH, rid); |
| 575 | 575 | |
| 576 | +#if 0 | |
| 576 | 577 | /* Find nearby leaves to offer to diff against */ |
| 577 | 578 | db_prepare(&q, |
| 578 | 579 | "SELECT tagxref.value, blob.uuid, min(%.17g-event.mtime)" |
| 579 | 580 | " FROM leaf, event, tagxref, blob" |
| 580 | 581 | " WHERE event.mtime BETWEEN %.17g AND %.17g" |
| @@ -614,10 +615,11 @@ | ||
| 614 | 615 | @ this branch</a> |
| 615 | 616 | } |
| 616 | 617 | if( seenDiffTitle ){ |
| 617 | 618 | @ </td></tr> |
| 618 | 619 | } |
| 620 | +#endif | |
| 619 | 621 | |
| 620 | 622 | /* The Download: line */ |
| 621 | 623 | if( g.perm.Zip ){ |
| 622 | 624 | char *zUrl = mprintf("%R/tarball/%t-%S.tar.gz?uuid=%s", |
| 623 | 625 | zProjName, zUuid, zUuid); |
| 624 | 626 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -571,10 +571,11 @@ | |
| 571 | zThisBranch = db_text("trunk", "SELECT value FROM tagxref" |
| 572 | " WHERE tagid=%d AND tagtype>0" |
| 573 | " AND rid=%d", |
| 574 | TAG_BRANCH, rid); |
| 575 | |
| 576 | /* Find nearby leaves to offer to diff against */ |
| 577 | db_prepare(&q, |
| 578 | "SELECT tagxref.value, blob.uuid, min(%.17g-event.mtime)" |
| 579 | " FROM leaf, event, tagxref, blob" |
| 580 | " WHERE event.mtime BETWEEN %.17g AND %.17g" |
| @@ -614,10 +615,11 @@ | |
| 614 | @ this branch</a> |
| 615 | } |
| 616 | if( seenDiffTitle ){ |
| 617 | @ </td></tr> |
| 618 | } |
| 619 | |
| 620 | /* The Download: line */ |
| 621 | if( g.perm.Zip ){ |
| 622 | char *zUrl = mprintf("%R/tarball/%t-%S.tar.gz?uuid=%s", |
| 623 | zProjName, zUuid, zUuid); |
| 624 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -571,10 +571,11 @@ | |
| 571 | zThisBranch = db_text("trunk", "SELECT value FROM tagxref" |
| 572 | " WHERE tagid=%d AND tagtype>0" |
| 573 | " AND rid=%d", |
| 574 | TAG_BRANCH, rid); |
| 575 | |
| 576 | #if 0 |
| 577 | /* Find nearby leaves to offer to diff against */ |
| 578 | db_prepare(&q, |
| 579 | "SELECT tagxref.value, blob.uuid, min(%.17g-event.mtime)" |
| 580 | " FROM leaf, event, tagxref, blob" |
| 581 | " WHERE event.mtime BETWEEN %.17g AND %.17g" |
| @@ -614,10 +615,11 @@ | |
| 615 | @ this branch</a> |
| 616 | } |
| 617 | if( seenDiffTitle ){ |
| 618 | @ </td></tr> |
| 619 | } |
| 620 | #endif |
| 621 | |
| 622 | /* The Download: line */ |
| 623 | if( g.perm.Zip ){ |
| 624 | char *zUrl = mprintf("%R/tarball/%t-%S.tar.gz?uuid=%s", |
| 625 | zProjName, zUuid, zUuid); |
| 626 |