Update repository from remote when running hg clone/pull (and add tests of such)