dirstate: use `reset_state` in `rebuild` instead of `dropfile`
As `dirstatemap.dropfile` is on its way out.
Differential Revision: https://phab.mercurial-scm.org/D11440
from __future__ import absolute_importimport pkgutil__path__ = pkgutil.extend_path(__path__, __name__)