![]() | Commandlist |
| Prev | Using kdesvn via commandline | Next |
If in following overview as possible parameter -r revision is given, this revision may set as <url>?rev=the-revision.
Table 4.1. 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 url to working copy. url 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 url for new, unversioned items and add them to working copy if wanted. | |
| tree | displays revision tree of item (only first argument), if url 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 brocken. | -f |
| unlock | unlock url(s), if "-f" is given then not owned locks are brocken or non existing locks are ignored. | -f |
| help | displays this page |
Table 4.2. 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 | | (un-)lock |
Log command displays a dialog containing the log of the given url. With subversion 1.2 or above it accepts a limit e.g. how many entries it has to display.
Inside that dialog you may select log entries and get the differences between them.
You get differences between revisions of an item or between to items inside same working copy or repository. When diff'ing revisions of an item that revisions
may gived as -r STARTREV:ENDREV. When diffing an item inside a working copy without any revisions it prints the diff against repository.
When diffing two items revisions may be appended to url of items. e.g.:
http://server/path/item?rev=HEAD
| Prev | Contents | Next |
| Using kdesvn via commandline | Up | Settings |