If I move a directory to another place inside the same repository by dragging it to the new place in Tortoise, I cannot checkout revisions prior to the move, because the URL to these old revisions is not valid anymore.
How do you move a directory and still be able to access revisions before the move?
Example:
If I move
trunk/folder1/source
to
trunk/folder2/source
then I can see the “source” folder now under folder2, and I can checkout the head revision, meaning the revision that produced the move.
However, if I try to checkout an older revision that was committed before the move, I get an error that the url doesn’t exist.
I guess it’s because the url of the older revision still points to the old path.
But there must be a way to fix this, otherwise a move would not make sense if you loose access to older revisions.
Problem was: I tried to checkout an old revision while looking at the tree of the head revision in the repository browser. In that view, I tried to checkout trunk/folder2/source of an older revision, which didn’t exist in that older revision because of the move.
Solution:
to that revision
in it’s original path, where it was
back in that revision
Thanks to all for the hints, which led me into the right direction.