shelve: adjust what happens in some `changing_parents` context
It seems like the rest is more about changing tracked_files, so we let start
with moving them out of the `changing_parents` contexts.
#require docutils gettext $ $TESTDIR/check-gendoc fr checking for parse errors