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
17
17
"""Launchpad.net integration plugin for Bazaar."""
22
22
# see http://bazaar-vcs.org/Specs/BranchRegistrationTool
24
# Since we are a built-in plugin we share the bzrlib version
25
from bzrlib import version_info
24
27
from bzrlib.lazy_import import lazy_import
25
28
lazy_import(globals(), """
275
279
is then used by the 'lp:' transport to download your branches using
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.
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.
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
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.
288
298
For more information see http://help.launchpad.net/
290
300
topic_registry.register('launchpad',