Using kdesvn via command line

Overview
Some subversion operations may be used via the command line, ⪚, like a standard command line client but user interaction is made through the UI. The standard syntax is kdesvn exec command parameter url.
If a single revision on a single is wanted it may be set as a parameter of the

svn://your-server/path-to-repository/item?rev=<your-rev>

This will overwrite the option -r <rev>.
A revision may be given as a number or one of HEAD or BASE or as date format like {YYYY-MM-DD}.

Command list
If in following overview as possible parameter -r revision is given, this revision may be set as url?rev=the-revision.

Subversion commands
Command	Meaning	Accepted options
commit (or ci)	commit changes of item to repository
log	Print log of item	-r startrevision:endrevision -l limit_display
cat	Display content of item	-r revision
copy (or cp)	Copy item inside working copy or repository. If target isn't given, kdesvn will prompt.
move (or mv, rename)	Move/Rename item inside working copy or repository. If target isn't given, kdesvn will prompt.
get	Get content of item and save it	-r revision -o <outputfile> (output is required!)
blame (or annotate)	annotate file	-r startrevision:endrevision
update	Update item in working copy	-r revision
diff	Diff two revisions of item or diff two items at specific revision	-r startrev:endrev
info	Detailed information about the item	-r revision
checkout (or co)	Checkout repository-path into a new working copy path. Target path and source revision will be asked for.
checkoutto (or coto)	Checkout repository-path into a new working copy path. The difference of the source path and source revision will be asked for.
export	Export repository- or working copy-path into directory. Target path and source revision will be asked for.
exportto	Export repository- or working copy-path into directory. Source path and source revision will be asked for.
delete (del, remove, rm)	delete url(s) from repository or working copy.
add	add to working copy. must belong to a working copy (its not an import!)
revert (or undo)	undone current changes to working copy. May only used on working copy urls!
checknew (or addnew)	check in given for new, unversioned items and add them to working copy if wanted.
tree	displays revision tree of item (only first argument), if with ?rev=xxx given, this revision is the peg-revision.	-r startrev:endrev
lock	lock url(s), if -f is given then existing locks are broken.	-f
unlock	unlock url(s), if -f is given then not owned locks are broken or non existing locks are ignored.	-f
help	displays this page

Parameter for subversion commands
Parameter	Possible values	allowed for
-r	revision or startrev:endrev	all except commit
-R	(none)	all except commit
-o	filename	get
-l	number	log
-f	(none)	(un-)lock

The log command
Log command displays a dialog containing the log of the given . With subversion 1.2 or above it accepts a limit, how many entries it has to display.
Inside that dialog you may select log entries and get the differences between them.

Display the last 20 commit logs

kdesvn exec log -l 20 -r HEAD:1 myfile.c

Beware of order of revision: You want go from HEAD to START for the LAST one. So you must give revision HEAD as starting point, otherwise you would get the first 20 entries.

The diff command
You get differences between revisions of an item or between two items inside same working copy or repository. When diff'ing revisions of an item, revisions may be given as -r STARTREV:ENDREV. When diffing an item inside a working copy without any revisions it prints the diff against repository.

Print difference against repository, local changes

kdesvn exec diff myfile.c

Print difference between revisions

kdesvn exec diff -r 21:20 myfile.c

When diffing two items revisions may be appended to of items. ⪚:

http://server/path/item?rev=HEAD

Diffing two tagged versions

kdesvn exec diff http://www.alwins-world.de/repos/kdesvn/tags/rel_0_6_2 http://www.alwins-world.de/repos/kdesvn/tags/rel_0_6_3