Working with Subversion without any Server is easy.
repo=~/subversion/coolrepository mkdir -p $repo svnadmin create $repo
svn co file://${repo}
Some useful commands to work with (all following commands do not modify the repository until ‘ci’ is used)
svn add [file] - schedule files or directories to add with the next commitsvn cp [src] [dest] - copy file preserving its historysvn mv [src] [dest] - rename file preserving its historysvn rm [file] - remove files or directoriessvn mkdir [dir] - create version controlled subdirsvn revert - restores last revision (undo local changes)To commit/check in changes to the repository with a message try:
svn ci -m "i added nice stuff"If someone else made changes to the repository you can update your local files like that:
svn upSome informative commands:
svn log [file] - show changelog for filesvn info - show some info