title: Git and Mercurial: what would be equivalent of Git workflow in Mercurial?
body: <pre><code>#lets get the latest
  git pull
  
  #lets switch to branch and do some work
  git checkout -b makeSomeBugs
  
  #do the work commit
  git add .
  git commit -am "introducing some bugs"
  
  #push this for my lazy remote friend to see
  git push origin makeSomeBugs
  
  #uh .. changes on master
  git pull origin master
  
  #do some work..
  git commit -am "introducing some more bugs"
  git push origin makeSomeBugs
  
  #lets switch back to master
  git checkout master
  git pull
  
  #work is done, lets merge
  git merge --no-ff makeSomeBugs
  git push origin
  
  #and remove the branch to never ever see it again
  git push origin :makeSomeBugs
  git branch -d makeSomeBugs
  </code></pre>
  
  <p>Various blog sources (but they are quite old) say that branching like this in mercurial is no-go, especially with permanent branch removal...</p>