custom-url-schemes - Simplify references to branches at long URLs

Version 1.0.0
Branch lp:bzr-custom-url-schemes
Home page https://launchpad.net/bzr-custom-url-schemes
Owner abudden
GNU/Linux Yes
Windows Yes
Mac OS X Yes

Custom URL Scheme - Create custom URL schemes for shortening URLS

Custom URL Scheme is a simple plugin for Bazaar, providing a means of branching from remote servers without having to type out the full address of the server. For example, if it is desirable to retrieve branches stored on a server with sftp, you could shorten:

bzr branch sftp://my.username@server.com/path/to/bazaar/projects/work/myproj

to:

bzr branch serv:work/myproj

In normal use, there are no required commands, but some commands are available to simplify creation of url schemes:

  • custom-url-scheme-add - Add a new URL scheme
  • custom-url-scheme-list - List existing URL schemes
  • custom-url-scheme-remove - Remove an existing URL scheme

To get started, create a new URL scheme (for the example above) with:

bzr custom-url-scheme-add serv sftp://my.username@server.com/path/to/bazaar/projects/

Then check it worked with:

bzr custom-url-scheme-list

Very little error checking is carried out at present.

custom-url-scheme-add

Purpose

Add a new URL scheme.

Usage

bzr custom-url-scheme-add SHORT_NAME FULL_URL

Options

--usage Show usage message and options.
-v, --verbose Display more information.
-q, --quiet Only display errors and warnings.
-h, --help Show help message.

custom-url-scheme-list

Purpose

List existing URL schemes.

Usage

bzr custom-url-scheme-list

Options

--usage Show usage message and options.
-v, --verbose Display more information.
-q, --quiet Only display errors and warnings.
-h, --help Show help message.

custom-url-scheme-remove

Purpose

Remove an existing URL scheme.

Usage

bzr custom-url-scheme-remove SHORT_NAME

Options

--usage Show usage message and options.
-v, --verbose Display more information.
-q, --quiet Only display errors and warnings.
-h, --help Show help message.