jenkinsci/jenkins — pull request #961 by lvotypko (2013-09-30 20:36:14+00:00)
Title: Fix wrong directory source of renaming job

Renaming does not work well if directory for new name already exists - it does nothing due to wrong source path and can cause lost of builds or inconsistency between persistent data on disk and data in memory. In advance I think coping into existing directory should be optional - sometime Jenkins fails with loading job and its rewriting does not have to be wanted behaviour.