Fix hg code: now displays correct branch name

Without this patch, vcprompt was displaying the wrong branch name in a hg repository of mine (this was using hg 2.5.2). What I did was close a branch using "hg commit --close-branch". Afterwards, vcprompt kept displaying the name of the closed branch, even though I had run "hg update default".