Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

generate a summary of pending changes

Project Description

hg-request-pull is a Mercurial extension providing a single command, request-pull. This command presents a summary of the commits in the (BASE, HEAD] range, including a suitable pull command line, and diffstat.

It is inspired by, and similar to, git-request-pull(1).


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.


Install with pip from PyPI, the Python Package Index:

pip install hg-request-pull

Clone from Bitbucket:

hg clone

Installation from sources:

python install

In any case you will then need to edit your ~/.hgrc to include

hgext.request-pull =

You may need to provide the path to depending on how you installed hg-request-pull.


hg-request-pull -h
hg-request-pull [-c CHECKS] [-p] URL BASE [HEAD]
-h Display a usage description.

CHECKS Verification level for the URL.

2:Verify that the requested commits can be pulled from URL, abort on error.
1:Verify that the requested commits can be pulled from URL, complain on error but go on.
0:Skip verification.

-c 1 is assumed unless requested otherwise.

-p Show patch text.
URL:Repository to pull from.
BASE:Commit the recipient is assumed to have in their repository.
[HEAD]:Tip-most commit to include in the pull request. Defaults to “.”.


% hg-request-pull -c2 0 tip
The following 2 commits are available to pull on top of

  ba8f70322865 hg-request-pull, a git-request-pull copycat


    hg pull -r 05e27d4e085a

Summary (newest on top):

  05e27d4e085a option -p implemented
  c1e66fbc2256 partial prototype as a shell script

 hg-request-pull |  129 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 129 insertions(+), 0 deletions(-)


No doubt plentiful. Please report them at

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(16.9 kB) Copy SHA256 Hash SHA256
Source None Apr 7, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers