Bug 109435

Summary: Possible to do "svn diff" from kdevelop
Product: [Developer tools] kdevplatform Reporter: Linus McCabe <linus>
Component: subversionAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist CC: esigra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Linus McCabe 2005-07-21 21:12:46 UTC
Version:           Old CVS version (using KDE KDE 3.4.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Is it just me, or isnt it possible to do subversion diffs from KDevelop!?

anyway, If kompare is installed, it's quite easy to yourself:

* Make a script like this:
>>>
#!/bin/bash

cd `dirname $1`
svn diff $1 > /tmp/diff
kompare /tmp/diff
<<<

Then add the script as a tool in KDevelop. Works like a charm, and shouldnt be too hard to implement natively in kdevelop?
Comment 1 Megan Webb 2006-11-06 12:53:25 UTC
Committed revision 602617 to 3.4 branch. Diff is between working copy and head  for now.

3 levels of diff. if you have kompare and patch installed, then will show diff and allow merging.. if only kompare, the diff is shown in kompare. if nothing, you get to see the diff in a text box..
Comment 2 esigra 2006-11-11 06:21:01 UTC
What I need is to be able to click on a line in kompare and get that file open in kdevelop with the cursor at the character I clicked on. Is that possible?