How can I import previously existing Folders for versioning

Olaf
Olaf
I have 3 different versions of a programm, each placed in a different folder, containing the changes of sourcecode. Now I decided to use svn to track changes instead of storing a copy in a different folder each time I changed something. How can I import the existing folders to svn as if I did the changes in the same folder? Right now I get messages that files already exist or I have to delete files although they are somehow the same and just changed. Thanx

Last updated

mkc
mkc
Import one, commit. Copy the new file into the working copy overwriting the old one. Commit. Repeat as needed.
rallis
rallis
[quote=mkc]...Copy the new file into the working copy overwriting the old one. Commit. Repeat as needed.[/quote] What's about the deleted files ? It seems that the only way to do that is to use a sync-program like rsync. Is there any way to solve it with subversion itself ?
david
david
Hello, I don't think there's a SVN built-in solution for deleted files. But, it should be simple to make a shell script to detect deleted files and schedule them for deletion. David

1-4 of 4

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.

Post a reply
4822 views