Paste Extension

This extension is not distributed with Mercurial.

Author: Georg Brandl

Download site:


This extension allows you to directly paste the current hg diff output or a specified changeset to or a compatible service.

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


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

hgpaste = /path/to/

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

server =