Useful subversion bash functions

Posted on Tuesday, October 17, 2006 in Linux

Inspired by bbum’s Useful subversion shell aliases I decided to to try them out for myself. Of course nothing is ever easy and they needed to be converted from aliases to functions to work under bash, as bash doesn’t support passing arguments according to Google.

You can read bbum’s post for more details but the idea behind these is that after you have run svn status you can copy’n’paste the output and have the results opened in your editor of choice.

So here are my functions, preconfigured to use GVim and its diff function:


 M () { svn diff "$*" | gvimdiff -; }
 G () { svn diff "$*" | gvimdiff -; }
 U () { svn diff "$*" | gvimdiff -; }
 R () { svn diff; }
 A () { true; }
 D () { true; }
 I () { true; }
 ? () { true; }

Place these in your ~/.bashrc and you’re ready to roll.

Update

As davee points out below, you could use his colordiff tool for viewing the output instead.

LinuxWorld Beckons

Posted on Monday, October 16, 2006 in Linux, Personal

I’ve been trying to make up my mind whether to attend LinuxWorld this year but with my recent foray back into the world of (technical) writing, as yet unpublished work under my belt and a not insignificant project (which will be announced soon) in the pipeline I’ve decided it will be worth going to, if only for the ‘networking’ which sounds so cold-blooded but in this context seems apt.

I’ll be there for both days with – as yet – no plans for the Thursday evening (before making the trip home) so if anyone wants to meet up, let me know.

Update

Due to a change in travel plans I shall now be on a train on Thursday evening so any meetups will have to take place early Wednesday evening or during the expo.

And if you do ask…

Posted on Tuesday, October 3, 2006 in Linux, Personal

…you just might!

The school received my comments but have no idea what I’m talking about. They would like me to go it and discuss it with their IT coordinator.

Another result!

My music selection makes last.fm look good

No images to display

This theme was designed by Chris Wallace and is licensed under the GNU General Public License.

Check out his cool WordPress Themes. Released by Six Revisions in the year of the rat.


Mobilized by Mowser Mowser
Mobilytics