cmdrewrite: avoid accessing scmutil.status fields by index
Support for indexed access is going away in Mercurial. Accessing the
fields by name is clearer anyway.
# name space package to host third party extensionsfrom__future__importabsolute_importimportpkgutil__path__=pkgutil.extend_path(__path__,__name__)