fix hg pull logic
comment on the same