Paste Extension

This extension is not distributed with Mercurial.

Author: Georg Brandl

Download site: http://hg.pocoo.org/hgpaste

Overview

This extension allows you to directly paste the current hg diff output or a specified changeset to http://paste.pocoo.org/ or a compatible service.

It adds a new command, hg paste [-r REV | FILES].

Configuration

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

[extensions]
hgpaste = /path/to/hgpaste.py

To select another pastebin supporting the LodgeIt XMLRPC protocol, add this:

[paste]
server = http://paste.example.com/


CategoryExtensionsByOthers