Fossil

Check-in [2e126082]
Login

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

Overview
Comment:Another fix to the file-age computation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2e126082096ab8048a4c4ff686deee0d0001fc6d
User & Date: drh 2015-02-07 12:56:13
Context
2015-02-07
13:03
Do not consider changes in execute permission to be a real change for the purpose of compute file-age. check-in: c9df0dcd user: drh tags: trunk
12:56
Another fix to the file-age computation. check-in: 2e126082 user: drh tags: trunk
04:18
Add the Tk tests/id.test file graphing test case to the release checklist. check-in: ff7019ec user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/browse.c.

913
914
915
916
917
918
919
920

921
922
923
924
925
926
927
@     FROM descendents, mlink, event, filename
@    WHERE mlink.mid=descendents.x
@      AND mlink.fnid IN (SELECT fnid FROM foci, filename
@                          WHERE foci.checkinID=:ckin
@                            AND filename.name=foci.filename
@                            AND filename.name GLOB :glob)
@      AND filename.fnid=mlink.fnid
@      AND event.objid=mlink.mid;

;


/*
** Look at all file containing in the version "vid".  Construct a
** temporary table named "fileage" that contains the file-id for each
** files, the pathname, the check-in where the file was added, and the







|
>







913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
@     FROM descendents, mlink, event, filename
@    WHERE mlink.mid=descendents.x
@      AND mlink.fnid IN (SELECT fnid FROM foci, filename
@                          WHERE foci.checkinID=:ckin
@                            AND filename.name=foci.filename
@                            AND filename.name GLOB :glob)
@      AND filename.fnid=mlink.fnid
@      AND event.objid=mlink.mid
@    ORDER BY event.mtime DESC;
;


/*
** Look at all file containing in the version "vid".  Construct a
** temporary table named "fileage" that contains the file-id for each
** files, the pathname, the check-in where the file was added, and the