If I branch or checkout http://server1/repo1/branch2, which repository should be used? The canonical location of the branch is certainly underneath repo2, but the URL used to retrieve the branch is underneath repo1.
One answer would be that files are looked up relative to the canonical location of some file (say .bzr/branch-format). I suppose this might also apply to the above situation on the local file system with symlinks.
Here is another question related to this problem. Consider the following branches and repositories:
http:// server1/ repo1 (bzr repository) server1/ repo1/branch1 (bzr branch inside repo1) server2/ repo2 (bzr repository) server2/ repo2/branch2 (bzr branch inside repo2)
http://
http://
http://
Now consider the following HTTP redirect: server1/ repo1/branch2 => http:// server2/ repo2/branch2
http://
If I branch or checkout http:// server1/ repo1/branch2, which repository should be used? The canonical location of the branch is certainly underneath repo2, but the URL used to retrieve the branch is underneath repo1.
One answer would be that files are looked up relative to the canonical location of some file (say .bzr/branch- format) . I suppose this might also apply to the above situation on the local file system with symlinks.