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

Re: revert deletes subdirectory

From: Kurt Pruenner <leak_at_gmx.at>
Date: Sat, 15 Nov 2008 18:32:49 +0100

Adam Maschek wrote:
> Yes, i could reproduce it on another pc. I tried a smaller repo, but
> it did not have the same effect there, it must be the direcotry
> structure or naming of my files.
> So, try to reproduce like:
> 1. checkout http://imgmap.googlecode.com/svn/trunk/
> 2. modify examples/example1.html and examples/example1_files/
> interface1.js by adding a single character anywhere
> 3. go back to the root of the project, right click, select check for
> modifications
> 4. observe the two files modified, select both, right click and select
> revert
> 5. get an error message and see examples/example1_files gone

Let me guess - you have the "Manipulate connected files as a unit"
option of Explorer (which is, among other things, tweakable via TweakUI)
set which in turn will move/rename/delete the directory as soon as the
html file of the same name (sans "_files") is moved/renamed/deleted...

Subversion, of course, expects the directory to be still there after
messing with the html file and errors out when it's suddenly missing.

(It could also be that TortoiseSVN's "Use Recycle bin when reverting"
option causes this, as direct file manipulation probably won'T trigger
the above Explorer-specific behaviour...)

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
np: B. Fleischmann - Waiting For You To Come (Welcome Tourist (Disc 1))
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-15 18:32:59 CET

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.