2010-10-20  Daniel Bates  <dbates@rim.com>

        Reviewed by Martin Robinson.

        Add Git-support to do-file-rename
        https://bugs.webkit.org/show_bug.cgi?id=48015

        Also, abstracts the SCM move/rename functionality in do-file-rename and
        do-webcore-rename into a common function VCSUtils::scmMoveOrRenameFile().

        Currently, do-file-rename is hard coded to assume the SCM is Subversion.
        Instead, we should abstract the rename logic to be SCM-independent. This
        will allow us to add Git support as well move such functionality into
        our SCM library VCSUtils, where it can be shared by do-webcore-rename.

        * Scripts/VCSUtils.pm:
          - Added function scmMoveOrRenameFile.
        * Scripts/do-file-rename: Modified to call VCSUtils::scmMoveOrRenameFile().
        * Scripts/do-webcore-rename: Ditto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4 files changed