Fossil

Check-in [9e9e4d080f]
Login

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

Overview
Comment:In the timeline with the "namechng" query parameter, show the name change even if the file content does not change.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9e9e4d080fb6385b9a17dfc077c9b26054682ba5
User & Date: drh 2013-03-14 16:07:58.623
Context
2013-03-14
20:27
Prevent time warps from causing infinite loops in the annotator. ... (check-in: 1605649f3e user: drh tags: trunk)
16:07
In the timeline with the "namechng" query parameter, show the name change even if the file content does not change. ... (check-in: 9e9e4d080f user: drh tags: trunk)
14:56
Enhance the web timeline so that with the "namechng" query parameter it shows only check-ins that involve filename changes. ... (check-in: 1d2f4c2f26 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
        const char *zOld = db_column_text(&fchngQuery, 4);
        const char *zNew = db_column_text(&fchngQuery, 3);
        if( !inUl ){
          @ <ul class="filelist">
          inUl = 1;
        }
        if( (tmFlags & TIMELINE_FRENAMES)!=0 ){
          if( !isNew && !isDel && fossil_strcmp(zOld,zNew)!=0 && zOldName!=0 ){
            @ <li> %h(zOldName) &rarr; %h(zFilename)
          }
          continue;
        }          
        if( isNew ){
          @ <li> %h(zFilename) (new file) &nbsp;
          @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))







|







447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
        const char *zOld = db_column_text(&fchngQuery, 4);
        const char *zNew = db_column_text(&fchngQuery, 3);
        if( !inUl ){
          @ <ul class="filelist">
          inUl = 1;
        }
        if( (tmFlags & TIMELINE_FRENAMES)!=0 ){
          if( !isNew && !isDel && zOldName!=0 ){
            @ <li> %h(zOldName) &rarr; %h(zFilename)
          }
          continue;
        }          
        if( isNew ){
          @ <li> %h(zFilename) (new file) &nbsp;
          @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))