Jesper once mentioned the possibility of Bitbucket being released under the Affero GPL, but at that time Mercurial was GPLv2 only, which is incompatible. Who knows, with the switch to GPLv2+ we might see an AGPL Bitbucket. (Though I think the chances are slim)