fix hgpoller keep inserting the change set