Differences between revisions 3 and 4
Revision 3 as of 2012-03-22 20:50:31
Size: 943
Editor: BenoitAllard
Comment:
Revision 4 as of 2012-03-22 21:01:32
Size: 1450
Editor: BenoitAllard
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
''Links'' are similar to Bookmarks except the fact that links and changeset have a many-to-many relationship.
Line 34: Line 36:
== Usage ==

The following commands are added, their action are strongly based on the behavior of bookmarks.

 * {{{link}}} to add or remove ({{{--remove}}}) a link to a set of changesets.
 * {{{unlink}}} to unlink a set of issues
 * {{{links}}} to display the current links

The {{{--issueid}}} option is added to {{{hg push}}} and {{{hg commit}}} and link the affected changesets.

BugLink

Make the link between changesets and issue IDs.

1. Status

This extension is not distributed with Mercurial.

Author: BenoitAllard

Repository: https://bitbucket.org/benallard/buglink

Documentation: http://buglink.readthedocs.org/

2. Overview

This extension is split in three components:

  • Client-side extension
  • Server-side extension
  • Web interface

Both the server-side extension and the web interface are not mandatory, The client-side extension will then keep locally all the links and share them with your peers upon push/pull.

Links are similar to Bookmarks except the fact that links and changeset have a many-to-many relationship.

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
buglink = /path/to/buglink/client/

4. Usage

The following commands are added, their action are strongly based on the behavior of bookmarks.

  • link to add or remove (--remove) a link to a set of changesets.

  • unlink to unlink a set of issues

  • links to display the current links

The --issueid option is added to hg push and hg commit and link the affected changesets.

5. See also

  • bugmap.py from GregWard (bundle present in mercurial list archive)


CategoryExtensionsByOthers

BugLinkExtension (last edited 2012-12-05 12:38:18 by rcl)