I want to add one more question to this, does svn keep the history of the file when renaming or moving? it should be, right?
Thanks in advance..
From: Tim Alsop [mailto:Tim.Alsop@CyberSafe.Ltd.UK]
Sent: Wednesday, May 18, 2005 10:10 AM
Subject: svn rename & move ?
I wanted to check my understanding of the rename operation provided by some svn clients (e.g. Tortoise SVN). When I use the TortoiseSVN rename option it is not actually renaming the file, but instead adding a new file with the required new name, and deleting the old file, so when I commit my WC changes the repository looks how I wanted. If this is correct, then I have a concern - see below :
If I have a very large file in my WC I am aware that normally only changes are saved in the repository rather than a complete copy of the new revision to this file. This makes the space usage in the repository very efficient and has many other advantages. However, if I rename this large file the entire file is copied to the repository again so "space used = filesize * 2". If I later decide to rename the directory that my file(s) reside the space used is again increased and there is also no easy way to track in the repository what a file used to be called, or where it was previously located, and hence look at the change revisions on a specific file.
So, if my above assumptions are correct, I wonder if there are any plans to add a 'real rename' and a 'real move' to the svn product ?
Received on Wed May 18 09:17:22 2005