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

RE: [TSVN] Cannot replace a directory from within

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-10-11 16:23:35 CEST

Hi Ken,
 

Please no more html mails to this list. It makes quoting awkward.
 
--- Begin Quote ---
________________________________

        From: kblists@wintec.co.uk [mailto:kblists@wintec.co.uk]
        Sent: Tuesday, October 11, 2005 4:04 PM
        To: users@tortoisesvn.tigris.org
        Subject: [TSVN] Cannot replace a directory from within
        
        
        We recently reorganised some old projects, to move to the /HEAD
/tags type layout. To do this we used the repository browser to move the
project under a new folder call HEAD and then relocated the copy on the
client. This appears to have worked, can files can be checked in and
committed.
         
        However, if I run an Update at the root directory of the project
then I get the error:
         
            Cannot replace a directory from within.
         
        If I try a cleanup, it says Cleanup Has Finished.

--- End Quote ---

You have a broken working copy, because after the relocate the URLs point to
the wrong place. I wonder why commits worked at all...

After reorganizing your project, a local update instead of a relocate would
have been the better choice. Update propagates all changes in the repository
to the client. The easiest way to recover is to checkout into an empty
folder and continue from there.

One more thing: RTFM before trying something like that again. There are
several warnings about what relocate does and when it should (not) be used.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
--
Received on Tue Oct 11 15:29:12 2005

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.