Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Moving added files not detected

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Hide all messages in topic

All messages in topic

Re: Moving added files not detected

Author steveking
Full name Stefan Küng
Date 2009-01-31 07:23:32 PST
Message 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_fold​er/original_or_new_f​ile_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

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

Moving added files not detected

Author davidbalazic
Full name David Balažic
Date 2009-01-30 03:00:24 PST
Message 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_fold​er/original_or_new_f​ile_name

Regards,
David "magnet_for_bugs" Balažic

--------------------​--------------------​--------------------​---------
http://www.nosoftwar​epatents.com Innovation, not litigation !
---
David Balažic mailto:david.balazic​@hermes-softlab.com
HERMES Softlab http://www.hermes-softlab.com
Zagrebska cesta 104 Phone: +386 2 450 8947
SI-2000 Maribor
Slovenija
--------------------​--------------------​--------------------​---------
"Be excellent to each other." -
Bill S. Preston, Esq. & "Ted" Theodore Logan
--------------------​--------------------​--------------------​---------
Messages per page: