Esoteric Subversion Commands

Posted by Chris Blackburn Sun, 15 Jun 2008 21:42:00 GMT

Make a file executable, aka. set the execute/executable bit on a file using subversion:

svn ps svn:executable true path/to/filename

Ignore a file or file glob:

svn ps svn:ignore "*.pattern" path/to/directory

Merge two repositories:

svn merge --ignore-ancestry "$prod@HEAD" "$branch@HEAD" "$path"

example:

@svn merge svn://svn.cbciweb.com/svn/fakepath/trunk svn://svn.cbciweb.com/svn/fakepath/branches/stage /home/cblackburn/src/ruby/fake_project@

... after the merge don’t forget to commit.

Posted in  | Tags , , , , , ,  | no comments | no trackbacks

Gentoo 'error while loading shared libraries: libdbus-1.so.2: cannot open shared object file: No such file or directory'

Posted by admin Tue, 06 Mar 2007 00:41:00 GMT

Come on guys, we should be past stupid upstream inconsistencies like this by now.

After reading all of the worthless posts regarding this error on Gentoo , I came up with the following solution:

sudo ln -s /usr/lib/libdbus-1.so.3 /usr/lib/libdbus-1.so.2

This error seems to rear its head on other platforms as well. I’m not sure if this solution will work on other platforms.

Just do it and be done.

UPDATE: Someone from the Gentoo team tried to leave a berating comment telling me to “read the _blank_ manual” and find that revdep_rebuild solves this problem. In response I can say that it indeed does NOT solve the problem. This is a really stupid bug in Gentoo and should be fixed. Come on guys! I love the product, but this is just retarded. It isn’t that difficult to fix the problem. Just do it once and for all. The amazing thing is that I still get emails and thanks for this resolution, even in Sabayon. I’m not sure who is responsible for this incompetency on the Gentoo team but there is simply no excuse.

revdep_rebuild!?!?! Only an amateur would think that nobody has tried that first.

Posted in  | Tags , , , , ,  | 5 comments | no trackbacks