We're having issues with bzr and hg, so I'm trying to figure out what's going on.  This is debug code.