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

updating in moved directory

From: Roger Keays <r.keays_at_ninthave.net>
Date: 2004-07-01 04:07:17 CEST

Hi all,

I'm having difficulty understanding how I can bring a directory up to date in a
working version when the repository version of the directory has been moved.

What I have done is moved the directory in the repository from /2.0.0 to
/branches/2.0.0. Now when I try to update from the working repository I get

   svn: No repository found in

Using WebSVN I can see the path /2.0.0 for the revision the working repository
is at (13), but when I look inside I get the message.

  Path not found - '/2.0.0/'

Using `svnlook tree . -r 13` I can see the path /2.0.0/www for this revision.

Can anybody explain what is happening here for me? I can't svn switch the
working repository. Is this the same problem as described at
http://svnbook.red-bean.com/svnbook/apb.html#svn-ap-b-sect-1.2.16 ?

Trying to locate the problem I find I can reproduce an error - but it is
resolved by a svn switch:

~/svn$ svnadmin create sandbox
~/svn$ cd ~/src/roger
~/src/roger$ svn co file:///home/roger/svn/sandbox
Checked out revision 0.
~/src/roger$ cd sandbox/
~/src/roger$ mkdir 1.0.0
~/src/roger/sandbox$ svn add 1.0.0
A 1.0.0
~/src/roger/sandbox$ svn ci -m"add 1.0.0"
Adding 1.0.0

Committed revision 1.
~/src/roger/sandbox$ cd ..
~/src/roger$ svn co file:///home/roger/svn/sandbox/1.0.0
Checked out revision 1.
~/src/roger$ cd sandbox/
~/src/roger/sandbox$ mkdir trunk
~/src/roger/sandbox$ svn add trunk/
A trunk
~/src/roger/sandbox$ svn ci -m"adding trunk"
Adding trunk

Committed revision 2.
~/src/roger/sandbox$ svn mv 1.0.0/ trunk/
A trunk/1.0.0
D 1.0.0
~/src/roger/sandbox$ svn ci -m"move 1.0.0 branch"
Deleting 1.0.0
Adding trunk/1.0.0

Committed revision 3.
~/src/roger/sandbox$ cd ../1.0.0/
~/src/roger/1.0.0$ svn up
svn: Invalid editor anchoring; at least one of the input paths is not a
directory and there was no source entry
~/src/roger/1.0.0$ svn switch file:///home/roger/svn/sandbox/trunk/1.0.0
At revision 3.
~/src/roger/1.0.0$ svn up
At revision 3.

... which suggests to me I should be able to do a switch into my moved directory?

Thanks in advance,


Ninth Avenue Software                      p: +61 7 3870 8494
       _       _       _                    f: +61 7 3870 8491
    __(@)<  __(@)>  __(@),          w: http://www.ninthave.net
    \___)   \___)   \___)                 e: info@ninthave.net
PO Box 4179                             Send your spam to Sam
St Lucia South                               sam@ninthave.net
Queensland 4067
Australia                         http://www.ninthave.net/sam
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 1 06:48:57 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.