Bug 109435 - Possible to do "svn diff" from kdevelop
Summary: Possible to do "svn diff" from kdevelop
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: subversion (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 21:12 UTC by Linus McCabe
Modified: 2008-08-23 22:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?