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

RE: Switch deleted my work directory

From: Vanderhoof, Tzadik <tvanderhoof_at_kaig.com>
Date: Fri, 23 Jul 2010 16:52:50 -0400

Let's clarify this. I have a repo called "myProj" with a "trunk" and "branches" folder. Under "trunk" is "sub1" and under "sub1" is "sub2". I have the trunk checked out to "c:\myProj". I go into repo browser and copy trunk\sub1\sub2 to branches\new-sub2. In Windows I right-click on c:\myProj\sub1\sub2 and do Switch to branches\new-sub2. I would expect the dialog to just say "updated" (after a delay) and not to change any files on disk. Instead the dialog said "deleted c:\myProj\sub1\sub2" and deleted all the files in sub2, while leaving sub2 itself on the disk. I then right-click on "sub2" and do "update". The dialog shows "updated" for each file and all the files come back on disk. I then right-click on "sub2" and look at the Switch dialog. I see that sub2 is now pointing to "trunk\sub1\sub2" (not the branch, even though I never switched it back to the trunk).

As a workaround: I go into repo-browser and copy the trunk to branches\new. I right-click on c:\myProj\sub1\sub2 and Switch to "branches\new\sub1\sub2". This acts as expected... it says Updated and doesn't change any files. When I right-click on sub2 and look at the Switch dialog, I see that it is now pointing to "branches\new\sub1\sub2" as expected.

This email, its electronic document attachments, and the contents
of its website linkages may contain confidential information. This
information is intended solely for use by the individual or entity
to whom it is addressed. If you have received this information in
error, please notify the sender immediately and arrange for the prompt
destruction of the material and any accompanying attachments.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2637456

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-23 22:59:41 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.