One Quickie
  
  
 Supplying bitbucket username / password
Supplying bitbucket username / password (Mercurial->General)
   BitBucket provides Mercurial hosting.  It's kind of a pain to have to provide a username/password on every pull or push. So, just add something like this to your ~/.hgrc file and make sure the permissions on the file are such that nobody else can read it.
[auth]
bitbucket.prefix = bitbucket.org/markd2
bitbucket.username = markd2
bitbucket.password = B4dg3rzRuL3
bitbucket.schemes = http https
So now when you do a
% hg push https://bitbucket.org/markd2/borkfit
no need to authorize.