fix mercurial updating