Standard difference viewer
Andreas Pakulat
apaku at gmx.de
Fri Jul 20 17:39:34 UTC 2007
On 20.07.07 12:36:37, dukju ahn wrote:
> 2007/7/20, Andreas Pakulat <apaku at gmx.de>:
> > On 20.07.07 11:46:20, dukju ahn wrote:
> > > Currently subversion plugin prints "svn diff" via plain text. I'd
> > > like to provide option to use external diff viewer such as kompare.
> > > The problem is that, kompare seems to be unmaintained. I tried
> > > kdiff3 but it seems that it doesn't have any feature to display
> > > already generated .diff file.( it just create .diff from multiples of file)
> > >
> > > What could be the best difference viewer for vcs diff viewer?
> >
> > I'm not aware of any other diff viewers. The question is: What exactly
> > should a diff viewer do? Just display the diff with some jump
> > forward/backward using some highlighting? That should be easily doable
> > with kate.
> >
> > Or what else do you have in mind?
>
> Yes. I meant the picture at
> http://www.caffeinated.me.uk/kompare/
>
> Kate can't do that right?
No, then I misunderstood you. I thought you just wanted to display a
unified diff, but you actually want to display the differences between
old and new version of a file (wether old comes from svn repo or not).
I suggest to look into the 3way-kompare branch, thats mentioned on that
page and talk to the author wether he wants to make the diff-algorithm
and the widget into a shared library (or even kpart). That would allow
us to use it directly, else I think we need to either copy the code or
re-implement a 3-way-diff/merge widget. We need one in the vcs library
for the merge() stuff.
Andreas
--
Reply hazy, ask again later.
More information about the KDevelop-devel
mailing list