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

Invalid editor anchoring after repository move - Repeatable but fix??

From: Moretti, Giovanni <G.Moretti_at_massey.ac.nz>
Date: 2004-05-12 09:51:15 CEST

Hi
I'm using Subversion 1.02 and TortoiseSVN and have boiled the "Invalid
Editor Anchoring" problem down to where I can repeatably make it fail.

I've renamed a folder directly in the repository and then used
TortoiseSVN's "relocate" command (SVN's Switch) to alter the path
locally to point to the new location in the repository.

After doing this an Update fails with the message:
 Invalid editor anchoring:At least one of the paths is not a directory
...

If I checkout the folder again, all works OK but then doing a binary
compare on the old (failing) and new folders, they're identical - SAME
repository path and the ONLY difference are two characters in the
.svn/entries file (see after my sig below):

   revision="44"/> is in the working update,

whereas it's

  revision="32"/>

for the one that falls over with the error. Note the repository path is
NOT different.

If I take the ".svn/entries" file below (from the folder that won't
update) and simply change the "32" to "44", it updates fine ...

I have no idea what to do about this other than checking the folders out
again which is irritating as the contents are actually OK :-)

Subversion is wonderful effort and I'm slowly wrapping my mind around
some of th subtleties. Hopefully this rather minimal sized problem will
be small enough that the fix is easier for those building subversion to
discern. As an aside, the error occurs whether I use the command line
"svn up" or TortoiseSVN.

Cheers and Thanks
Giovanni
========================================================================
 Giovanni Moretti | Institute of Information Sciences and Technology
 Senior Lecturer | Massey University, Palmerston North, New Zealand
 Computer Science | Ph 64-6-3505799x2474 == Fax 64-6-3502259 == ZL2BOI

------------------------------------------------------------------------

----------------------.svn/entries file---------------------------------
modified url and author name for security reasons. I doubt that it
matters but the developer can ask for the originals if needed:

<?xml version="1.0" encoding="utf-8"?>
<wc-entries
   xmlns="svn:">
<entry
   committed-rev="1"
   name=""
   committed-date="2004-04-08T07:53:48.037257Z"
   url="svn://SubversionServer/Colour%20Project/AI%20Techniques"
   last-author="me"
   kind="dir"
   uuid="eae71f51-fe8a-994a-817a-1add0531b1de"
   revision="44"/> <<<<<<<<<<<<< ONLY DIFFERENCE 44 vs 32
<entry
   committed-rev="1"
   name="Genetic Algoirthms in Matlab.msg"
   text-time="2004-05-12T05:07:36.183375Z"
   committed-date="2004-04-08T07:53:48.037257Z"
   checksum="619f8a02ece225aa6547f69f39bd32f0"
   last-author="me"
   kind="file"
   prop-time="2004-05-12T05:07:35.995875Z"/>
<entry
   committed-rev="1"
   name="Words and their meaning from Fuzzy Logic Book.doc"
   text-time="2004-05-12T05:07:36.464625Z"
   committed-date="2004-04-08T07:53:48.037257Z"
   checksum="8b49ac3935dbd2a07c90522de577480a"
   last-author="me"
   kind="file"
   prop-time="2004-05-12T05:07:36.308375Z"/>
<entry
   committed-rev="1"
   name="ONTOLOGY.TXT"
   text-time="2004-05-12T05:07:36.683375Z"
   committed-date="2004-04-08T07:53:48.037257Z"
   checksum="ac78a19b25a8106b3d2cd85a9f319868"
   last-author="me"
   kind="file"
   prop-time="2004-05-12T05:07:36.574000Z"/>
</wc-entries>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 12 09:51:52 2004

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

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