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

BUG (?): "Copy Versioned Files Here" Copies Unversioned/Ignored Folders

From: Scott Wegner <swegner2_at_gmail.com>
Date: Thu, 19 Jun 2008 08:52:26 -0700 (PDT)

Hi,

I came across a possible bug today, or at least an unexpected
behavior, involving the context shortcut "SVN Copy Versioned Files
Here" command. Here's my setup:

"What I Did":
I have a SVN folder checked-out on my Windows XP computer with a
directory structure as follows:

- trunk/productA
- trunk/productA/src
- trunk/productA/bin
- trunk/productA/tests

"productA" and "productA/src" are versioned in svn. "productA/bin"
and "productA/tests" are local folders that contain binaries resulting
from building/testing the src folder. These two folders have been
added to the SVN "ignore" list.

I wanted to start a "productB" folder that would mirror "productA".
So, I opened an explorer window in the "trunk" folder. I right-click-
dragged "productA" into some empty space, and selected "SVN copy
versioned files here", and entered "productB" in the dialog prompt.

"What I Wanted To Happen":
I would expect that I would have a new versioned folder "productB"
with only a "src" folder inside, since this is the only *versioned*
sub-directory.

"What Actually Happened"
TortoiseSVN started copying not only the "src" folder, but "bin" and
"tests" as well, even though they are un-versioned and marked to
ignore. Moreover, these ignored folders contain GB's of data, so
TortoiseSVN was copying them silently in the background for over 5
minutes, without showing any progress or notification that it was
still working (I use SysInternals' ProcessExplorer to view activity).
As a result, the complete copy request took a very long time, and I
couldn't cancel or delete the "bin" or "test" directories mid-way,
because the folders being locked.

I'm not sure if the actual problem here is within TortoiseSVN or
subversion itself, but it was very inconvenient and unexpected. At
the very least, I would expect some visual notification that the copy
was still working.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-19 22:40:26 CEST

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