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

[TSVN] Complexity of relocate

From: Stefan Kanarski <tortoisesvn_at_kanarski.de>
Date: 2005-02-11 10:21:26 CET

Dear TortoiseSVN team,

yesterday I stumbled over the complexity of relocate.

First I had a repository for one project

  https://SUBVERSIONPC/svn/project1
  |-branches
  |-tags
  '-trunk

Then I renamed this repository and moved the three folders into a new one for
this project besides other project folders:

  https://SUBVERSIONPC/svn/projects
  |-project1
  | |-branches
  | |-tags
  | '-trunk
  |-project2
  '-project3

Now I tried to correct my working copy by relocating the URL
  https://SUBVERSIONPC/svn/project1/trunk
to
  https://SUBVERSIONPC/svn/projects/project1/trunk
which gives no error message, but when trying to update my working copy
afterwards, I got an error.

After reading the excellent documentation of TortoiseSVN and Subversion and
trying a lot, I came to the following solution:

First I relocate the URL
  https://SUBVERSIONPC/svn/project1/trunk
to the non existing URL
  https://SUBVERSIONPC/svn/projects/trunk
then I switched the working copy to
  https://SUBVERSIONPC/svn/projects/project1/trunk
now the update worked.

Maybe one has to learn more about the internals of Subversion to understand
why this is necessary (OK, it exactly resembles what has happened to the
repository). An extra command for this to achieve in TortoiseSVN would be too
special I think but how about a pointer to this in the documentation (Title:
Correcting working copies after reorganisation of repositories)?

If you know a better way to achive this or if I have overlooked something
please let me know.

Best regards
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Feb 11 10:34:44 2005

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

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