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

RE: svn rename & move ?

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

I don't think the history of the new file is linked to the history of
the file with old name.
 
Regards, Tim

________________________________

From: Feyza Esmer [mailto:feyzae@ayesas.com]
Sent: 18 May 2005 08:18
To: Tim Alsop; users@subversion.tigris.org
Subject: RE: svn rename & move ?

Hi,
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..
Feyza

        -----Original Message-----
        From: Tim Alsop [mailto:Tim.Alsop@CyberSafe.Ltd.UK]
        Sent: Wednesday, May 18, 2005 10:10 AM
        To: users@subversion.tigris.org
        Subject: svn rename & move ?
        
        
        Hi,
        
        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:19:57 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.