STABLE-x.y.z, where x.y.z is the released version of Heartbeat you wish to download.
3.0.1 release, the correct sequence of commands would be:
#wget http://hg.linux-ha.org/dev/archive/STABLE-3.0.1.tar.bz2#tar -vxjf STABLE-3.0.1.tar.bz2