1. Benjamin Pollack
  2. hg-lisppaste

Wiki

Clone wiki

hg-lisppaste / Home

Overview

hg-lisppaste is a simple extension to Mercurial that allows you to automatically upload unified diffs to paste.listp.org--a pastebin integrated with the Freenode IRC network.

Installation

Enable the extension by adding the following line to the [extensions] part of your .hgrc file:

lisppaste=/path/to/lisppaste.py

You can also specify a default nickname and channel by adding a [lisppaste] section to your .hgrc file like so:

[lisppaste]
from = <your nick>
to = <default channel>

These are entirely optional, and can be overridden for any paste by command-line arguments.

Usage

For the common case, where you wish to upload your pending commit as the diff, you can simply issue

$ hg paste -s "title of the paste"

You can also specify -i to force hg-lisppaste to interactively query you for information.

Full diff arguments are supported; run hg help paste for more information.

Updated