juretta.com

Subversion cheat sheet

June 12, 2005
Tags: Subversion Subversion
[powerbook:~] sts% svn co svn+ssh://user@svn.example.com/usr/local/svn/repos/project1
[powerbook:~] sts% svn co file:///usr/local/svn/repos/project1/trunk

Converting a cvs repository to svn repostiory:

[powerbook:~] sts% ./cvs2svn --existing-svnrepos -s /usr/local/svn/repos/project1 /usr/local/cvsroot/project1

What does 'REPORT request failed' mean?

When I try to check out a subversion repository

[powerbook:~] sts% svn co http://svn.example.com/rep/project/main project

I get an error like: svn: REPORT request failed on '/rep/project/!svn/vcc/default' svn: REPORT of '/rep/project/!svn/vcc/default': 400 Bad Request (http://svn.example.com) You are behind a web proxy that is not passing the WebDAV methods that subversion uses. You can work around the problem by using SSL to hide what you're doing from the proxy:

svn co https://svn.example.com/rep/project/main project

Ignore files or directories

[powerbook:~] sts% svn propedit svn:ignore *.class

Keywords

[powerbook:~] sts% svn propset svn:keywords "LastChangedDate Author Id" lighttpd.conf

Tagging

[powerbook:~] sts% svn copy http://svn.example.com/repos/ybc/trunk \
http://svn.example.com/repos/ybc/tags/release-0.1 -m "tagging release 0.1"

svnbook.red-bean.com/.../svn.branchmerge.tags.html


About

This is the defunct blog of Stefan Saasen.