Just had something worrying happen now that I am using the newer version of SVN (1.7).
I have an older project which I wanted to copy some CI build scripts over from into a new project. I originally used to use the right click drag and drop then the “Export all versioned items here” or whatever it was called to take a copy of the files without the SVN history.
After not finding that option I did a quick google and found:
Now I went to just copy and paste my files instead and it for some reason kept the up to date icons in the shell, I thought it may be just the OS not updating the folders so ignored it, and when I went to commit I checked the log to make sure that it wasn’t somehow linking to the old project and it said there was no version info.
Anyway now that I actually commit I look in the logs and see all the checkins against the previous repository then mine… So it has my current log entry being the new project, and everything before has the history of the old project… is this a bug or has something gone wrong here?
I dont know why this unrelated repository would have any information from the other unrelated project just from copying the files…
The behavior sounds beneficial. It is beneficial to have the revision history for the files that you copied from the old project.
If you don’t want to see the revision history from the old project you can check the “Stop on Copy/Rename” box in the revision log dialog.
When you dragged and dropped your files using explorer I suspect you also copied the hidden .svn folder in your old working copy. If you really want to get rid of the revision history, you could have used the repo-browser to go into the repository, select your old project files and export to your new project working copy folder. Then from your new project working copy add the files to your new project repository.