Re: Dangerous Merging
Matthew Palmer argues against “having your revision control system assume that patches which are the same text is the same”: If you think this is right, "think about two different patches each adding a...
View ArticleUsing Bazaar to hack on Twisted
At PyCon, I helped several Twisted developers to use Bazaar to work on Twisted, even though the repository is still SVN. Here's how to do it. First, install bzr and the bzr-svn plugin. I strongly...
View ArticleRebase is not the only way to deliver clean code
I'm a bit perplexed by fans of git's rebase feature. I often hear git users recommending it as the way to work with distributed version control. I think they're conflating “the series of patches I...
View ArticleNarrative tests are lousy unit tests
I want to stop people abusing Python's doctest format. Many of the tests I've seen written as doctest files would have been better off as plain unittest files. I'm going to try explain why. I have many...
View ArticleTests are code, doctests aren't
In my last post I explained why I think narrative-style tests make poor unit tests. That alone is a good reason not to write unit tests in Python's doctest format. Here are more reasons why I don't...
View Article