Tweaked Hg pullup script.