Chapter 3. Konqueror, KIO, kdesvn

Description

As of version 0.7.0 of kdesvn it comes with some modules integrating some commands directly into Konqueror menus.

KIO protocols

Implements handlers for the following protocols:

  • ksvn+http

  • ksvn+https

  • ksvn+file

  • ksvn+ssh

  • ksvn

These protocols are designed only for repositories, not for working copies. For example, ksvn+file:///path must point to the beginning of a repository different to the application itself or KPart. Working copies may browsed with Konqueror.

For browsing at a specific revision you may append the query ?rev=revision to the URL.

Context menus

kdesvn installs context menus for Konqueror. Them may be seen with right mouse click in the browser window (only in standard view, not any KPart) so it is possible to do most used actions direct from within Konqueror (or any other file managers that read Konqueror context menus like Dolphin). This is done via a call to the command line variant of kdesvn.

Usage of KIO outside Konqueror - an example

Every application which uses the KIO library may use these protocols. So it would be possible to retrieve all differences between two revisions with KDiff3 without any deep knowledge.

Example 3.1. Retrieving differences between revisions using KDiff3 and KIO::ksvn

kdiff3 \
  ksvn://anonsvn.kde.org/home/kde/trunk/KDE/arts?rev=423127 \
  ksvn://anonsvn.kde.org/home/kde/trunk/KDE/arts?rev=455064

Let KDiff3 print all differences between two revisions.

Note

Using this within kdesvn (diff'ing two revisions) is MUCH faster because the internal mechanisms of subversion are used.