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

Re: Change name of folder with many subfolders

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 19 Apr 2014 16:04:33 +0200

On 18.04.2014 23:32, franc walter wrote:
> Hello
>
> in early versions of SVN it was not possible to change folders name
> without deleting all subcontent and commit all content again with
> just new folder name.
>
> E.g.: I have a folder with name "oldfoldername" and this folder
> contains many subfolders and the content of about 1 GB data. If I
> rename this folder in svn now to "newfoldername" through TortoiseSVN
> will this delete the old folder and upload all content with new
> foldername, so add just another 1 GB to the repository? Or would it
> just rename the folder and won't upload anything?
>
> I tried this but stopped then when I saw in the list that all files
> would be deleted. I cannot upload (and donwload later) 1 GB of data.
>
> If this is like this, is there another possibiltiy to change a
> folders name without big up and download?

When you rename or move files/folders with the appropriate svn command,
then you will see those in the commit dialog as deleted (old name/path)
and added (new name/path).
But the added also show a "+" in their added state, meaning it's "added
with history", i.e. it's not a real add but an add from history.
Subversion handles those very effective, meaning it only records the
move/rename and not the full delete/add.

In short: you can do the rename and not worry about committing or
downloading the full GB again.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3076739
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-04-19 16:03:59 CEST

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

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