[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn rename & move ?

From: Tim Alsop <Tim.Alsop_at_CyberSafe.Ltd.UK>
Date: 2005-05-18 09:10:06 CEST

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 ?
Thanks, Tim
Received on Wed May 18 09:12:22 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.