Virtual repository not working via http
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I have a bazaar server up and running. The server contains many repositories, which I would like to browse with the explorer.
If I open an URL of the server where the repositories are located, I get the message:
bzr+https:/
Do you want to open it as a virtual repository, searching for nested locations?
I say yes, and the next message is:
Unable to change to /home/charon/
However, before this message, the location is searched for correctly, I can see the repositories in the GUI already.
When I acknowledge the error message, the repositories are gone..
So it seems, the explorer is mixing local paths with URLs which is a bug IMHO.
I just hat a quick look into the source code. It seems, that the flag whether the location is local or not is just set in case of a branch or a repository (location.py, function reopen_location).
The if...elif... construct should be extended to:
if branch:
elif repository:
else: # or check for whatever variable tells about a virtual directory startswith( "file:/ /")
self._local = self._root.