2008
Labels: Uncategorized
Hacking, Software Collaboration, Testing and Diverse Other Topics of General Interest to the Practicing Programmer
I have just returned from the shops with a Snickers bar. The packet says that one out of every six Snickers bars will instantly win me a free Snickers bar.
Labels: Uncategorized
Ben Sussman-Collins writes about programmer insecurity and how a lot of programmers dread having others see their code.
Labels: Uncategorized
I'm currently hacking away on Launchpad's support for "stacked branches", something that will really make Launchpad's codehosting a joy to use.
# Shelve my changes
bzr shelve --all
# Fetch the latest trunk
cd ../trunk
bzr pull
# Merge it into my branch
cd ../stacking
bzr merge ../trunk
bzr ci -m "Merge in changes from trunk to get login testing improvements."
# Restore my changes
bzr unshelve --all
Labels: Bazaar
Inspired by Mikey, I've set up my own real-life blog.
Labels: Uncategorized
Ever find yourself working away on a branch, enjoying yourself and getting just a little carried away? Maybe you're working on a feature and you notice and fix a bug that's not strictly related to that feature.
bzr merge --uncommitted. It will merge in the changes that you've made to your working tree but haven't committed yet.
$ cd some-feature-branch
... hack hack hack ... oops!
$ cd ..
$ bzr branch trunk bug-fix-2357
$ cd bug-fix-2357
$ bzr merge --uncommitted ../some-feature-branch
$ bzr ci -m "Fix up bug 2357. Found this while working on some-feature."
$ bzr send
bzr send does? Trust me, you want to find out.Labels: Uncategorized