Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can use svn blame command to gain similar results. Of course revisions and pages needs to be stored in svn. If migrating to svn is a roadblock, maybe examining svn sources how blame command is written might help.</p> <p><strong>Edit: @August</strong> <em>In order to visualize this, I need something that doesn't care about lines. Don't I?</em></p> <p>Well, you need blame for rows and diff for contents of single row. The first one is performed by VCS, second one you can do by yourself or third party code. For every change store in database deltas of blame commends (only changed rows need to be saved). In sample results for one row we have:</p> <pre><code> Rev. num. Value 23 Hello worl 36 Hello cruel world 45 Hello wonderful world </code></pre> <p>The desired for you result I assume is (for clarity I've skiped white spaces)<br/> Afer first diff:</p> <pre><code>(Hello)(23)(cruel)(36)(worl)(23)(d)(36) </code></pre> <p>After second diff:</p> <pre><code>(Hello)(23)(wonderful)(45)(worl)(23)(d)(36) </code></pre> <p>Unified diff doesn't help in this case, so diff need to be done otherwise. You can write algoritm for diff yourself or find appropiate code in merge tools. Below is example of how TortiseMerge does the stuff.</p> <p><a href="http://img169.imageshack.us/img169/7871/merge.png" rel="nofollow noreferrer">tortise merge http://img169.imageshack.us/img169/7871/merge.png</a></p> <p>The problem isn't simple one but I think that my ideas might help you a little or give any clues.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload