Remove all files in COPATH that are not versioned
svk st COPATH | grep ^? | cut -d' ' -f 4 |xargs rm -rf
or
rm -fr COPATH/*; svk revert -R COPATH
or
svk st COPATH | awk '/^\?/ {system("rm -rf " $2)}'
(mornfall: sounds like a bad idea... first line - i would much prefer cut -cN- (given the svk st output format), xargs rm -rf only after looking at the file list first... second one will lose any uncommited changes as i see it).
Show all files in MANIFEST that are not versioned
xargs svk st < MANIFEST | grep ^?
Sync Repositories Between Subversion Servers
Version controlling without files
See VCwoFiles
Get commit e-mails from anywhere with
See SvkCommitEmails
Old diffstat workaround
The output of 'svk diff' is not recognized by diffstat prior to 1.34. You can use the following line to workaround:
svk diff | sed 's/^=== /Index: /' | diffstat
Importing
To change a group of svk-managed sub-directories to a common branch
for x in *; do (cd $x; svk sw //work/trunk/$x); done
If you use bash
check out SVKPathCompletion
If a revision file goes bad in your repository
check out SVKRebuildRepo
Change the commit message for a revision
svnadmin setlog REPOS_PATH -r N --bypass-hooks FILE
This is a svn command, so works on subversion repositories. But, since svk depots are really just svn repositories internally, this command works on svk depots also. You just have to find the depot on your local system. It'll be the directory with "conf", "dev", "db", "hooks" subdirectories and more in it. Once you find that directory, use it for the REPOS_PATH. FILE is the file that contains the new commit message. This tip largely comes from the subversion FAQ:graco travel systems
http://subversion.tigris.org/faq.html#change-log-msg
Turn on debugging messages
To enable debugging output, set the environment variable SVKLOGLEVEL. In bash, the command to enable debugging for a single run would look like the following (doing a push operation):
SVKLOGLEVEL=debug svk push
You can also use `export SVKLOGLEVEL=debug` to set the logging level for your entire session. Other possible options include -- debug, info, warn, error, fatal. The default is 'info' and is set by SVK::Logger.