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

Bug with Right Click + Drag/Drop

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Wed, 13 Aug 2008 14:53:43 -0500

Hi,

Normally I will right & hold on a versioned directory, and then drag it over
another versioned directory, and release. This should bring up a context
menu with a "SVN Move versioned files here" option. However, this does not
appear under certain circumstances. I'll list my steps to reproduce below.
Ensure you are using Windows XP x64 and that you have TortoiseSVN x64
(latest version) installed.

   1. Check out a project that has at least 2 directories in the root of the
   project directory. These directories may or may not be empty
   2. When the checkout is complete, create a new directory at the root of
   the wc. At this point you should have 2 versioned directories and 1
   unversioned directory.
   3. Right-click the new, unversioned directory and select TortoiseSVN >>
   Add...
   4. You should now have a blue plus-sign overlay on the directory.
   5. Right-click to drag one of the two versioned directory over the
   newly-added third directory (this 3rd directory still hasn't been checked
   in). Note the context menu that appears when you release the Right-click
   button on the mouse. It contains the following SVN related options:
      1. SVN Copy and add files to this WC
      2. SVN Export to here
      3. SVN Export all to here
   6. These options are incorrect. There should be an "SVN Move to here"
   option in this context menu.
   7. Commit the 3rd newly-added directory.
   8. Now there's a green check mark overlay on the 3rd new directory.
   Repeat step 5 again, but this time the destination directory will be
   versioned (whereas before it was not quite yet, due to the lack of a
   commit). The same options appear. Now it's really broken.
   9. Try to update the root working copy.
   10. Repeat step 5 once more.
   11. Still the same options in the context menu. Still broken.

I hope I've provided enough details as to how to reproduce the problem. Note
that out of the original 2 directories that were in the working copy before
we added the 3rd one, right-click-dragging between those two resulted in all
of the correct context menu items appearing. It's only when a drag/drop
operation involves that 3rd directory that it breaks (has a minimal set of
options in the right click context menu). It's almost like it's treating the
newly versioned file as a separate working copy, when in fact it is not.
Received on 2008-08-13 21:53:58 CEST

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

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