/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2009-06-10 02:51:23 UTC
  • mfrom: (4423 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4464.
  • Revision ID: mbp@sourcefrog.net-20090610025123-2u0c0ng5jcezjzqh
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
"""Launchpad.net integration plugin for Bazaar."""
18
18
 
21
21
 
22
22
# see http://bazaar-vcs.org/Specs/BranchRegistrationTool
23
23
 
 
24
# Since we are a built-in plugin we share the bzrlib version
 
25
from bzrlib import version_info
 
26
 
24
27
from bzrlib.lazy_import import lazy_import
25
28
lazy_import(globals(), """
26
29
import webbrowser
226
229
                self.outf.write('No Launchpad user ID configured.\n')
227
230
                return 1
228
231
        else:
 
232
            name = name.lower()
229
233
            if check_account:
230
234
                account.check_lp_login(name)
231
235
            account.set_lp_login(name)
275
279
      is then used by the 'lp:' transport to download your branches using
276
280
      bzr+ssh://.
277
281
 
 
282
    * The 'lp:' transport uses Launchpad as a directory service: for example
 
283
      'lp:bzr' and 'lp:python' refer to the main branches of the relevant
 
284
      projects and may be branched, logged, etc. You can also use the 'lp:'
 
285
      transport to refer to specific branches, e.g. lp:~bzr/bzr/trunk.
 
286
 
 
287
    * The 'lp:' bug tracker alias can expand launchpad bug numbers to their
 
288
      URLs for use with 'bzr commit --fixes', e.g. 'bzr commit --fixes lp:12345'
 
289
      will record a revision property that marks that revision as fixing
 
290
      Launchpad bug 12345. When you push that branch to Launchpad it will
 
291
      automatically be linked to the bug report.
 
292
 
278
293
    * The register-branch command tells Launchpad about the url of a
279
294
      public branch.  Launchpad will then mirror the branch, display
280
295
      its contents and allow it to be attached to bugs and other
281
296
      objects.
282
297
 
283
 
    * The 'lp:' transport uses Launchpad as a directory service: for example
284
 
      'lp:bzr' and 'lp:python' refer to the main branches of the relevant
285
 
      projects and may be branched, logged, etc. You can also use the 'lp:'
286
 
      transport to refer to specific branches, e.g. lp:///~bzr/bzr/trunk.
287
 
 
288
298
For more information see http://help.launchpad.net/
289
299
"""
290
300
topic_registry.register('launchpad',