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

Re: Moving added files not detected

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 31 Jan 2009 16:23:28 +0100

David Balažic wrote:
> Hi!
> v1.5.7 on WinXP pro SP3
> When moving new files, they are not detected as such by TortoiseSVN:
> - working example:
> drag with right mouse button a versioned file to another (versioned) folder:
> the popup menu has the option "SVN move versioned files..."
> - non working example:
> drag with right mouse button an added file from a versioned folder
> to another (versioned) folder:
> the popup menu has no SVN related options
> Workaround : SVN rename the file as "../destination_folder/original_or_new_file_name

The problem is that an added file does not have the repository uuid
stored in its metadata. And we first check whether the source uuid
matches the uuid of the target folder. If we didn't, users could move
files around in completely unrelated working copies (yes, that happens a
lot!) and then screw up their working copies completely.

So, I'd rather leave it this way since there *is* a workaround for those
who know what they're doing.

Also, there's another workaround:
* revert the added file (unversion it)
* copy/move the file to the target
* add the file to version control


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-01-31 16:23:51 CET

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