Beginning with subversion and kdesvn
This section is mostly for beginners not familiar with subversion and explains how subversion and/or revision control systems (RCS) works.
Working copies MUST be accessible via local paths. Subversion does not know anything about pseudo file systems like
fish://. kdesvn translates some of them if possible (like
system:/home) but it is not possible over a network.
First of all you must create a working copy of your repository. For that select
→ → . Inside the following dialog you must select the URL of the repository you want to use, e.g., something like
http://localhost/repos/myproject. Subfolders of a repository are possible, too, e.g.,
http://localhost/repos/myproject/trunk or similar.
Select and/or create a local folder, where the working copy should reside.
Last but not least, the revision to checkout. Mostly that should be “HEAD”. This ensures that the last stored version is the referenced version.
After clicking on kdesvn will create your new working copy and (if the box was checked) opens it.
When you have opened a repository for browsing you may mark a folder and than select → → and fill out the dialogs as described above. Then only the marked path will checked out.
Mark the entry or entries you want to send and select → → (Ctrl+#)
If you try to commit if no item is selected, kdesvn uses the top-most element of opened working copy, i.e., the working copy path itself.
This operation is always recursive, means, if selecting a folder kdesvn always send all changed items below it. When you setup that you want to review all items before commit inside the following dialog all items kdesvn would send are listed. There you may unmark items you don't want to send. In that case kdesvn sends all items alone, i.e., not recursive. Or you may select items not versioned for add and commit (if them are not marked to be ignored). So you may see if there are newer items you forgot.
Enter a log message what you're sending and hit and the transfer starts.
This brings you local working copy in sync with the repository. You may setup that kdesvn checks on opening a working copy for newer/modified items in repository. This runs in background and you may work meanwhile with kdesvn. When this is finished, items with newer versions or folders with items where newer items are below are marked.
To retrieve the changes, select → → . This will update to the most latest version. If you want to get a specific revision select → → and select the revision you want in the following box.
If no item is selected, the update will done on whole opened working copy, otherwise only recursive on the selected items.
Both operations requires two steps: First add or delete and then committing that changes to repository. Before you commit you may undone add or delete.
Adding items into a working copy may be done due three ways:
Copy with Konqueror or any other tool into working copy area. Go trough list, mark them and select → → (Insert). When you want adding new folders with all subitems select → → (Ctrl+Insert).
You may check if there are somewhere in working copy unversioned items. After selecting → → a dialog appears where all not versioned items are listed. Hitting adds all marked items to working copy, items you don't want versioned you should unmark before.
Mark in Konqueror or any other compatible file browser items you want to add and drag them to kdesvn. You may drop them on folders inside the opened working copy and then kdesvn copy the dropped items to it and add the items.
The log display may start with Ctrl+L when one or none item is marked in overview. Depending on your settings (see the section called “Subversion settings”) kdesvn retrieves some log entries beginning on “HEAD” and displays them.
On left side you see the list of log entries kdesvn retrieved. The log message is stripped-down to one line to fit. The full log message appears in right upper window when marking an entry. In the right lower window you will see the list of changed files. These windows only appears if this list is fetched depending on your settings.
With the buttons above you may select another range of logs to display.
This range is called without any pre-limit so you have to think about yourself on large repositories.
The buttons below displays always work on item selected for log, not on item selected in list of changed files. So when you select there it makes the diff over all changed items in this revision if them are equivalent or below the subversion entry selected for retrieving logs before. Same for .
of course works only if item to log is a file.
On all list entries (both lists) you have context menu enabled for some extra operations. In left list this is (i.e. beginning revision) and (i.e. end or target of diff, in unified the part marked with a
+++). If you selected these revisions them are marked with some small arrows.
|Using kdesvn||Up||Working on repositories|