Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #154 (closed: fixed)

Opened 6 years ago

Last modified 6 years ago

kompare diff options are not taken into account

Reported by: moltonel Owned by: alwin
Priority: normal Milestone: 0.12.x
Component: All Version: 0.12.x
Severity: minor Keywords: RESOLVED
Cc:

Description

I have configured kompare to "ignore changes in amount of whitespace". When I run it manually ("kompare file.txt .svn/text-base/file.txt.svn-base" command) it works, but not when I run it via kdesvn ("diff local changes" menu).

If I configure kdesvn to "use other diff display" with "kompare %1 %2" (instead of "use kompare for diffs"), it works as well. But that's a hard-to-find workaround.

I expected "use kompare for diffs" to let me use the compare options. I didn't check the kdesvn code, but it seems like kdesvn is sending a diff output to kompare, instead of sending two files.

ADDITIONAL INFORMATION: kdesvn 0.12.1 (but behaviour has allways been the same) kde 3.5.7 gentoo 64bit

Attachments

Change History

comment:1 Changed 6 years ago by moltonel

  • Owner changed from anonymous to alwin
  • Status changed from new to assigned

comment:2 Changed 6 years ago by alwin

Well, this is a problem of kompare I think. It has the well documented option to read diff output and display it - and kdesvn use it. It is much faster than exporting and let external programs do the diff.

But otherwise you're right - I should integrate into kdesvn such option for ignoring white spaces.

comment:3 Changed 6 years ago by moltonel

AFAIK, kompare uses the diff program internally, which itself takes care of the whitespace options. So if you feed it with the diff result directly, it can't send options to diff.

Concerning speed, for the corner-case of "diff local changes", could you use the file in .svn/text-base/ instead of generating a new file ? Or are you worried that the user might accidentally modify this internal svn file ?

comment:4 Changed 6 years ago by alwin

When doing the export for local changes it uses this file (eg., subversion does), eg., exporting a local working copy should always be fast.

But when diffing other revisions then working and base then external stuff slows down.

Bu in latest development this option "ignoring white spaces on diff" is integrated in kdesvn, so it will come with next minor release.

comment:5 Changed 6 years ago by alwin

  • Keywords RESOLVED added
  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone set to 0.12.x
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.