No repository present error when using bzr+http protocol talking from bzr 1.5 client to a 1.3.1 repository

Bug #240262 reported by Geoff Jacobsen
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

Bug Description

Systems:

Client and server both running hardy heron (up-to-date as at 13 jun 2008)

server on bzr 1.3.1

client on bzr 1.5

Only the bzr+http protocol fails. straight http or sftp to the same repository works fine.

It does not fail if client is on bzr 1.3.1

error message:

geoffj@wairau:~/src/soshi2-repo/trunk$ bzr pull --remember bzr+http://<email address hidden>/bzr/soshi2-repo/soshi2-trunk
bzr: ERROR: No repository present: "bzr+http://<email address hidden>/bzr/soshi2-repo/soshi2-trunk/"

but works if just use http:

geoffj@wairau:~/src/soshi2-repo/trunk$ bzr pull --remember http://<email address hidden>/bzr/soshi2-repo/soshi2-trunk
http://rakaia.local/bzr/soshi2-repo/soshi2-trunk is permanently redirected to http://rakaia.local/bzr/soshi2-repo/soshi2-trunk/
No revisions to pull.

geoffj@wairau:~/src/soshi2-repo/trunk$ bzr info
Repository tree (format: pack-0.92)
Location:
  shared repository: /home/geoffj/src/soshi2-repo
  repository branch: .

Related branches:
  parent branch: http://<email address hidden>/bzr/soshi2-repo/soshi2-trunk/

Tags: hpss
Revision history for this message
Andrew Bennetts (spiv) wrote :

Can you attach the output in the ~/.bzr.log file with the -Dhpss flag with both bzr 1.5 and 1.3.1?

i.e.:

bzr -Dhpss pull ...

Revision history for this message
Geoff Jacobsen (geoffj) wrote :
Revision history for this message
Geoff Jacobsen (geoffj) wrote :
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 240262] Re: No repository present error when using bzr+http protocol talking from bzr 1.5 client to a 1.3.1 repository

Thanks Geoff, but the flag name is actually case-sensitive: you need
-Dhpss not -DHpss.

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Geoff Jacobsen (geoffj) wrote :

Oops, sorry about that

Revision history for this message
Geoff Jacobsen (geoffj) wrote :
Revision history for this message
Martin Pool (mbp) wrote :

So the key difference seems to be that 1.5 keeps sending

12.293 hpss call: 'BzrDir.find_repositoryV2', '.'
12.293 (to http://<email address hidden>/bzr/soshi2-repo/soshi2-trunk/)
12.994 result: 0.701s 'ok', '..', 'no', 'no', 'no'

with the same parameters, and then eventually it fails. Whereas with 1.3 it does ask for '../' and finds the repository there, then proceeds.

Changed in bzr:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Andrew Bennetts (spiv) wrote :

This is bug 230550, which is fixed in bzr 1.6beta1 and later.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.