dirstate: enforce context set_clean and set_possibly_dirty
We don't want them called within a `changing_parents` context, but we still want
them called within a context.
So we update the decorator accordingly
#require docutils gettext $ $TESTDIR/check-gendoc da checking for parse errors