The reparenting code now checks to see if the new parent happens to be the old parent; in that case there's nothing to do, so there's no reason to regenerate any files and waste people's time.
Thanks for the suggestion, Antimedia!
Related Posts (on one page):
- Reparenting to a parent
- Category renaming and reparenting