fix mercurial commit with session but without nickname