Post thumbnail of Remove files after svn add but before committing
10 February 2010
Continue reading Remove files after svn add but before committing

Remove files after svn add but before committing

You’ve added a whole directory to get checked into subversion, and then realized you forgot to remove the binaries, or perhaps you had some hidden files, .nfs0001 or thumbs.db or something else you just don’t want to commit. There’s two ways to undo this situation.

Post thumbnail of Unknown DAV provider: svn?
3 February 2010
Continue reading Unknown DAV provider: svn?

Unknown DAV provider: svn?

Apache fails to start with Unknown DAV provider: svn? when you try to start the Apache service. Install the mod_authz_svn.so and mod_dav_svn.so modules and specify the LoadModule lines in your configuration.

Post thumbnail of SVN pre-revprop-change hook scripts for Linux and Windows
8 January 2010
Continue reading SVN pre-revprop-change hook scripts for Linux and Windows

SVN pre-revprop-change hook scripts for Linux and Windows

For Linux it’s a simple shell script, nothing fancy is needed. If the script ends with a 0 exit value, the commit will work, if it exits non-zero, the commit will fail. In Windows the syntax is different because you don’t have a real shell. Instead, you use batch file commands to accomplish the same thing. The logic is pretty much the same because it’s simple.

Post thumbnail of Subversion repository dependencies with svn:externals
6 January 2010
Continue reading Subversion repository dependencies with svn:externals

Subversion repository dependencies with svn:externals

Here’s how to use svn propset with single or multiple dependencies along with the pre-revprop-change hook setup. It was a pain in the butt at first because it just didn’t make sense, but now I get it.

Post thumbnail of Subversion through a proxy
16 September 2009
Continue reading Subversion through a proxy

Subversion through a proxy

There’s a hidden directory called “.subversion” in your home directory. Edit the servers file. Everything should be self explanatory. Scroll down to the bottom and you’ll find a global section. The proxy settings in there should cover it…

Post thumbnail of Block changes to a tag in Subversion with pre-commit hooks
3 September 2009
Continue reading Block changes to a tag in Subversion with pre-commit hooks

Block changes to a tag in Subversion with pre-commit hooks

Start by going to the hooks directory in your repository and copying pre-commit.tmpl as pre-commit. Then add the line to disallow changes to tags and run it. All is well, the change didn’t get committed, right? What just happened was the commit failed because the pre-commit wasn’t marked executable!

Post thumbnail of Use FSVS to keep track of Linux server configuration changes
14 October 2008
Continue reading Use FSVS to keep track of Linux server configuration changes

Use FSVS to keep track of Linux server configuration changes

FSVS is the abbreviation for “Fast System Versioning” and is pronounced [fisvis].
It is a complete backup/restore/versioning tool for all files in a directory tree or whole filesystems, with a subversion repository as the backend. 
Using this application, all files(almost) in /etc/ are maintained in a subversion repository. As files get created …

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Powered by Wordpress   |   Lunated designed by ZenVerse