Comment 10 for bug 253644

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 253644] Re: pqm-submit dies if I can't access the submit branch

On Mon, 2008-08-11 at 20:31 +0000, Tom Haddon wrote:
> Ok, I tried this but wasn't able to get it working as expected. The
> users have their public branches on LP as well in a location that's only
> readable if you're in a certain group, so essentially I needed to be
> able to rewrite any LP URLs to ensure they were being connected to with
> the right user. I tried:
>
> sftp://{someuser}@bazaar.launchpad.net/=http://bazaar.launchpad.net/

Its not a regex match, so that won't work. The user should just setup
~/.ssh/config to specify username, then bzr won't see them and they will
all be much simpler.

> And had the user's merge request looked like this:
>
> star-merge
> http://bazaar.launchpad.net/~{someuser}/{project}/{somebranch}
> http://bazaar.launchpad.net/~{someteam}/{project}/trunk
>
> However, I got:
>
> ["PQM Cannot merge between different VCSsystems.
> 'http://bazaar.launchpad.net/~{someuser}/{project}/{somebranch}'(pqm.Baz1_1Handler)
> and '/home/pqm/archives/{project}/trunk'(pqm.Bazaar2Handler) are
> different."]

It failed to detect bzr correctly - because it can't access the branch
over http - private branches on launchpad are not accessible except via
bzr+ssh or sftp.

-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.