lp-open fails for checkouts of mirrored branches

Bug #389521 reported by John A Meinel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
Breezy
Triaged
Low
Unassigned

Bug Description

This may just be a failure in my config, but I have a heavy checkout of a branch on my server, which is then mirrored to launchpad via http.

When I run "bzr lp-open" in my checkout I get:
$ bzr lp-open
bzr: ERROR: bzr+ssh://juju.arbash-meinel.com/srv/bzr/public/branches/bzr/jam-integration is not registered on Launchpad.

That would be the URL of the master branch, but not the *public_branch* of that master branch.

I don't know whether lp-open works on mirrored branches at all, but it looks like it is trying.

Revision history for this message
John A Meinel (jameinel) wrote :

If this isn't just my setup, it is most likely a bug in the 'launchpad' plugin that is bundled in bzrlib.

Revision history for this message
Jonathan Lange (jml) wrote :

If it's a bug in the launchpad plugin, I'd prefer to track it in bzr, since that's where it actually lives.

I don't know why this is happening, since the tests indicate that the plugin looks at the public url of the branch to get the launchpad location, and only falls through to that error when they all fail.

If you attach the output of 'bzr info -v' in that checkout, I think I might be able to have a go at debugging it locally.

affects: launchpad-code → bzr
Changed in bzr:
assignee: nobody → Jonathan Lange (jml)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
John A Meinel (jameinel) wrote :

$ bzr info -v
Repository checkout (format: 1.9)
Location:
  repository checkout root: .
        checkout of branch: bzr+ssh://juju/srv/bzr/public/branches/bzr/jam-integration/
         shared repository: C:/Users/jameinel/dev/bzr

Related branches:
  public branch: http://bzr.arbash-meinel.com/branches/bzr/jam-integration
    push branch: bzr+ssh://juju.arbash-meinel.com/srv/bzr/public/branches/bzr/jam-integration
  parent branch: C:/Users/jameinel/dev/bzr/bzr.dev
  submit branch: C:/Users/jameinel/dev/bzr/bzr.dev

Format:
       control: Meta directory format 1
  working tree: Working tree format 4
        branch: Branch format 7
    repository: Packs 6 (uses btree indexes, requires bzr 1.9)
Connected (version 1.99, client OpenSSH_4.2)
Authentication (publickey) successful!
Secsh channel 1 opened.

In the working tree:
      1061 unchanged
         0 modified
         0 added
         0 removed
         0 renamed
         0 unknown
       765 ignored
        83 versioned subdirectories

Branch history:
      4471 revisions
      1457 days old
   first revision: Sun 2005-06-26 16:55:27 -0500
  latest revision: Tue 2009-06-23 09:44:45 -0500

Repository:
     33016 revisions

$ bzr info bzr+ssh://juju/srv/bzr/public/branches/bzr/jam-integration/
Connected (version 1.99, client OpenSSH_4.2)
Authentication (publickey) successful!
Secsh channel 1 opened.
Repository branch (format: unnamed) 0KB 1KB/s |
Location:
  shared repository: bzr+ssh://juju/srv/bzr/public/branches/bzr/
  repository branch: bzr+ssh://juju/srv/bzr/public/branches/bzr/jam-integration/

Related branches:
  public branch: http://bzr.arbash-meinel.com/branches/bzr/jam-integration
    push branch:
  parent branch: bzr+ssh://juju/srv/bzr/public/mirrors/bzr/bzr.dev/
  submit branch: http://bazaar-vcs.org/bzr/bzr.dev

Revision history for this message
John A Meinel (jameinel) wrote :

I'm guessing that you use "the public_url" of the branch, or the "master" of the branch, but not the "public url of the master branch".

Jonathan Lange (jml)
summary: - lp-open fails for mirrored branches
+ lp-open fails for checkouts of mirrored branches
Jonathan Lange (jml)
tags: added: launchpad
Changed in bzr:
assignee: Jonathan Lange (jml) → nobody
Jonathan Lange (jml)
tags: added: lp-open
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Low
tags: removed: check-for-breezy
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.