bzr branch and checkout over HTTP fail with "ERROR: No such file"
Bug #57309 reported by
Lauri Kainulainen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
John A Meinel |
Bug Description
Running on dapper here with bzr 0.8.2 from official repos.
Reproduce:
1. create a new directory
2. add text files (PHP files here)
3. bzr init, bzr add *, bzr commit
4. rsync via ssh ( rsync -avrze ssh myBzrDir <email address hidden>:html/bzr )
5. bzr branch http://
Fails with:
bzr: ERROR: No such file: 'http://
The kndx file is not present on the local branch either. Branching and checking out work on from the local branch but not over HTTP.
description: | updated |
To post a comment you must log in.
You cannot checkout over a readonly transport. So that will always fail.
I'm trying to figure out what:
http:// www.server. com:html/ is
:html doesn't look valid as part of a URL, since it isn't a port number, etc. It may be we are puking on that.
Are you running a proxy on the html server? It is possible that you are running into bugs with how we encode urls. At one point we found that Apache 1.3 strips the url encoding when running as a proxy.
it takes a url like foo_%254b and translates it into %4b and passes it down the line, which then gets unescaped again into 'K' which doesn't exist.
The above line is the escaped form of the path. The path you want to look for is: .bzr/repository /knits/ bc/%4b% 49%53%53auth. php-20060822155 416-c2bd64d6397 54517.kndx
/bzr/myBzrDir/
If that doesn't exist in the remote path, then you probably have a rsync related problem.
If it *does* exist, then you have an Apache configuration problem.