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

[BUG] Invalid editor anchoring trying to switch after server-side rename

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2004-04-28 17:37:28 CEST

Hi !

Server: WinXP SP1+, Apache 2.0.48, SVN 1.0.2
Client: WinXP SP1+, SVN 1.0.2

I just renamed a vendor branch, and it looks like I can't update the
branch anymore. Both switch and update report an invalid editor
anchoring. I found two E-Mails with this message in the SVN archive, but
my paths don't have spaces in them.

I also found issu 1721
http://subversion.tigris.org/issues/show_bug.cgi?id=1721

which *might* be related... Not sure about that though. I believe it
might be related because I do a move...

Here's a transcript (PROMPT $$$S in effect):

$ svn info
Path: .
URL: http://svn.hopto.org:8193/repos/vendor/velocity/1.4-rc1
Repository UUID: 18ef92ac-1ce2-7148-ac38-1817e6a3da51
Revision: 2375
Node Kind: directory
Schedule: normal
Last Changed Author: fbos
Last Changed Rev: 2234
Last Changed Date: 2004-02-24 12:46:50 -0500 (Tue, 24 Feb 2004)

$ svn ls http://svn.hopto.org:8193/repos/vendor/velocity/1.4-rc1
LICENSE.txt
README.txt
build/
convert/
docs/
examples/
src/
test/
velocity-1.4-rc1.jar
velocity-dep-1.4-rc1.jar
xdocs/

$ svn up
svn: REPORT request failed on '/repos/!svn/vcc/default'
svn:
Invalid editor anchoring; at least one of the input paths is not a
directory and there was no source entry

$ svn sw http://svn.hopto.org:8193/repos/vendor/velocity/current
svn: REPORT request failed on '/repos/!svn/vcc/default'
svn:
Invalid editor anchoring; at least one of the input paths is not a
directory and there was no source entry

$ svn --version
svn, version 1.0.2 (r9423)
   compiled Apr 26 2004, 23:51:38

Prior to these commands, I ran the following:
svn sw --relocate http://svn.hopto.org:8193/repos/vendor/apache-velocity
http://svn.hopto.org:8193/repos/vendor/velocity
svn sw http://svn.hopto.org:8193/repos/vendor/velocity/current

This last command was the one that initially triggered this bug report.

A log of the repository folder looks like this:
------------------------------------------------------------------------
r2584 | fbos | 2004-04-28 10:57:28 -0400 (Wed, 28 Apr 2004)
Changed paths:
   D /vendor/apache-velocity
   A /vendor/velocity (from /vendor/apache-velocity:2583)
------------------------------------------------------------------------
r2234 | fbos | 2004-02-24 12:46:50 -0500 (Tue, 24 Feb 2004)
Changed paths:
   A /vendor/apache-velocity/1.4-rc1 (from
   /vendor/apache-velocity/current:2233)
------------------------------------------------------------------------
r2233 | fbos | 2004-02-24 12:39:05 -0500 (Tue, 24 Feb 2004)
Changed paths:
...
------------------------------------------------------------------------
r1903 | fbos | 2004-01-11 20:12:00 -0500 (Sun, 11 Jan 2004)
Changed paths:
   D /vendor/apache-velocity/1.3.1/svn-commit.tmp
------------------------------------------------------------------------
r1902 | fbos | 2004-01-11 19:55:31 -0500 (Sun, 11 Jan 2004)
Changed paths:
   A /vendor/apache-velocity/1.3.1 (from
   /vendor/apache-velocity/current:1901)
------------------------------------------------------------------------
r1900 | fbos | 2004-01-11 18:14:56 -0500 (Sun, 11 Jan 2004)
Changed paths:
   A /vendor/apache-velocity
   A /vendor/apache-velocity/current
...
------------------------------------------------------------------------

You can see the move in r2584. r2234 is a tag, from which the original
working copy was checked out.

The following recipe reproduces the problem:
cls
rd /s/q repos wc
svn --version
svnadmin create repos
svn checkout file:///repos wc
cd wc
svn mkdir vendor vendor/vendor1
echo text >vendor\vendor1\file.txt
svn add vendor/vendor1/file.txt
svn commit --message "r1"
svn move file:///repos/vendor/vendor1 file:///repos/vendor/vendor2
--message "server-side add+delete"
cd vendor\vendor1
svn switch --relocate file:///repos/vendor/vendor1
file:///repos/vendor/vendor2
svn update
svn info

And a transcript of a run:

$ rd /s/q repos wc
Le fichier spécifié est introuvable.
Le fichier spécifié est introuvable.

$ svn --version
svn, version 1.0.2 (r9423)
   compiled Apr 26 2004, 23:51:38

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV)
protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network
protocol.
  - handles 'svn' schema

$ svnadmin create repos

$ svn checkout file:///repos wc
Checked out revision 0.

$ cd wc

$ svn mkdir vendor vendor/vendor1
A vendor
A vendor\vendor1

$ echo text 1>vendor\vendor1\file.txt

$ svn add vendor/vendor1/file.txt
A vendor\vendor1\file.txt

$ svn commit --message "r1"
Adding vendor
Adding vendor\vendor1
Adding vendor\vendor1\file.txt
Transmitting file data .
Committed revision 1.

$ svn move file:///repos/vendor/vendor1 file:///repos/vendor/vendor2
--message "server-side add+delete"

Committed revision 2.

$ cd vendor\vendor1

$ svn switch --relocate file:///repos/vendor/vendor1
file:///repos/vendor/vendor2

$ svn update
svn: Invalid editor anchoring; at least one of the input paths is not a
directory and there was no source entry

$ svn info
Path: .
URL: file:///repos/vendor/vendor2
Revision: 1
Node Kind: directory
Schedule: normal
Last Changed Author: Francois
Last Changed Rev: 1
Last Changed Date: 2004-04-28 11:31:30 -0400 (Wed, 28 Apr 2004)

Bye !
Francois
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 28 17:38:07 2004

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

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