Fossil

Check-in [f6ab24fd]
Login

Check-in [f6ab24fd]

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

Overview
Comment:Extended prior change to cover the "Added" and "Deleted" cases.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f6ab24fd26a1ba1c98e0b6ad23bad841e5fe7d4976a0575d2d00a852d1d21006
User & Date: wyoung 2020-12-09 23:01:24
Context
2020-12-10
20:19
Replaced a few remaining "block chain" references with "Merkle tree" in the Fossil v Git article. ... (check-in: e6730652 user: wyoung tags: trunk)
2020-12-09
23:01
Extended prior change to cover the "Added" and "Deleted" cases. ... (check-in: f6ab24fd user: wyoung tags: trunk)
22:58
Added a missing trailing " in "Changes to wiki page FOO" entries in the timeline. ... (check-in: 62c030e0 user: wyoung tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
        ** indicate "deleted", "added", or "edited") followed by the
        ** raw wiki page name.  We have to generate an appropriate
        ** comment on-the-fly
        */
        wiki_hyperlink_override(zUuid);
        if( zCom[0]=='-' ){
          @ Deleted wiki page "%z(href("%R/whistory?name=%t",zCom+1))\
          @ %h(zCom+1)</a>
        }else if( (tmFlags & TIMELINE_REFS)!=0
               && (zCom[0]=='+' || zCom[0]==':') ){
          @ Wiki page "%z(href("%R/wiki?name=%t",zCom+1))%h(zCom+1)</a>
        }else if( zCom[0]=='+' ){
          @ Added wiki page "%z(href("%R/wiki?name=%t",zCom+1))%h(zCom+1)</a>
        }else if( zCom[0]==':' ){
          @ Changes to wiki page "%z(href("%R/wiki?name=%t",zCom+1))\
          @ %h(zCom+1)</a>"
        }else{
          /* Legacy EVENT table entry that needs to be rebuilt */
          @ Changes to a wiki page &rarr; Obsolete EVENT table information.
          @ Run "fossil rebuild" on the repository.







|


|

|







602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
        ** indicate "deleted", "added", or "edited") followed by the
        ** raw wiki page name.  We have to generate an appropriate
        ** comment on-the-fly
        */
        wiki_hyperlink_override(zUuid);
        if( zCom[0]=='-' ){
          @ Deleted wiki page "%z(href("%R/whistory?name=%t",zCom+1))\
          @ %h(zCom+1)</a>"
        }else if( (tmFlags & TIMELINE_REFS)!=0
               && (zCom[0]=='+' || zCom[0]==':') ){
          @ Wiki page "%z(href("%R/wiki?name=%t",zCom+1))%h(zCom+1)</a>"
        }else if( zCom[0]=='+' ){
          @ Added wiki page "%z(href("%R/wiki?name=%t",zCom+1))%h(zCom+1)</a>"
        }else if( zCom[0]==':' ){
          @ Changes to wiki page "%z(href("%R/wiki?name=%t",zCom+1))\
          @ %h(zCom+1)</a>"
        }else{
          /* Legacy EVENT table entry that needs to be rebuilt */
          @ Changes to a wiki page &rarr; Obsolete EVENT table information.
          @ Run "fossil rebuild" on the repository.