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

Extracting old revisions after a project has moved in the repository

From: Paul Spain <PaulSpain_at_flagship.com.au>
Date: 2004-06-23 08:59:47 CEST

Hi there,

We have a repository which originally looked like:
file:///c:/repository/myProject

We now have a requirement for branches and tags, so I created 'trunk',
'branch' and 'tags' directories and moved myProject below trunk, viz:

svn -m"creating trunk" mkdir file:///c:/repository/trunk
svn -m"moving below trunk" move file://c:/repository/myProject
file:///c:/repository/trunk/myProject

This all worked fine and dandy. We've switched our working copies to the
new location and have been happily committing since that point.
But... whenever we try and retrieve a revision of a file *before*
myProject was moved, eg in a diff, we get an error:

cd \sandbox\myProject
svn diff -r167:173 myFile.txt // both these revs are pre-move
svn: file:///c:/repository/trunk/myProject/myFile.txt was not found in
the repository at revision 167

Revisions committed after the move are retrieved happily.
Am I doing something wrong here, or does 'svn move' only work *below*
the root directory of a project?

I originally encountered this problem using a remote repository via
svnserve. I did a hotcopy and backup of the repository before moving the
project and can reproduce the problem working against a local repository
as illustrated above.

Thanks, Paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 23 09:02:43 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.