~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_registration.py

(robertc) Fix register-branch for launchpad beta group team members
        and teach it to use the public location of the current branch
        by default. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
    # NB: this should always end in a slash to avoid xmlrpclib appending
42
42
    # '/RPC2'
43
 
    DEFAULT_SERVICE_URL = 'https://xmlrpc.launchpad.net/bazaar/'
 
43
    # We use edge because:
 
44
    # Beta users get redirected to it
 
45
    # All users can use it
 
46
    # There is a bug in the launchpad side where redirection causes an OOPS.
 
47
    DEFAULT_SERVICE_URL = 'https://xmlrpc.edge.launchpad.net/bazaar/'
44
48
 
45
49
    transport = None
46
50
    registrant_email = None
180
184
                 author_email='',
181
185
                 product_name='',
182
186
                 ):
183
 
        assert branch_url
 
187
        assert branch_url, 'branch_url %r is invalid' % branch_url
184
188
        self.branch_url = branch_url
185
189
        if branch_name:
186
190
            self.branch_name = branch_name