Friday 9 May 2008

Moving files without losing Subversion history

You may have noticed that IntelliJ doesn't seem to like moving classes that are in the default package to another source directory (e.g. from test/integration to test/unit). Sure, you can simply move the file, then add to subversion and commit, but you lose the subversion history. A better workaround is:
    svn move [from] [to]
which retains subversion history of the file.

No comments: