Bestseller?

Posted on Wednesday, January 16, 2008 in Developing, Linux, Writing

Just did a quick check on how my book – Managing Software Development with Trac and Subversion – was doing on Amazon UK. They had stock earlier in the week, but it’s all gone now – that can only be a good thing!

I was also really pleased to see that I had made into the top 100,000 bestsellers – number 94,492 to be precise. Considering I’ve seen books ranked over the million mark, I’m very happy with my current position.

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.

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