dispatch: parse and apply -R early
This allows us to use extensions specified in .hg/hgrc. Unfortunately,
this requires us to parse that file twice, but performance impact on
the version command appears to be less than 1%.
applying patch from stdinapplying patch from stdinapplying patch from stdinapplying patch from stdin