Skip to main content

hg-request-pull

Generates a summary of pending changes

Author:

Roman Neuhauser

Contact:

neuhauser@sigpipe.cz

Copyright:

This document is in the public domain.

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).

License

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.

Installation

Install with pip from PyPI, the Python Package Index:

pip install hg-request-pull

Clone from Bitbucket:

hg clone https://bitbucket.org/roman.neuhauser/hg-request-pull

Installation from sources:

python setup.py install

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

[extensions]
hgext.request-pull =

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

Usage

hg-request-pull -h
hg-request-pull [-c CHECKS] [-p] URL BASE [HEAD]
-h

Display a usage description.

-c

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 “.”.

Example

% hg-request-pull -c2 http://stick.suse.cz:8000/ 0 tip
The following 2 commits are available to pull on top of

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

with

    hg pull -r 05e27d4e085a http://stick.suse.cz:8000/

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(-)

Bugs

No doubt plentiful. Please report them at https://bitbucket.org/roman.neuhauser/hg-request-pull/issues.

Metadata

Release files for hg-request-pull 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hg-request-pull 0.5.1
File Size Uploaded Provenance Actions
hg-request-pull-0.5.1.tar.gz 16.9 kB Without provenance Details for hg-request-pull-0.5.1.tar.gz

Release files / hg-request-pull-0.5.1.tar.gz

Download URL hg-request-pull-0.5.1.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
446ba37c84dc6b2f929773adcecaac99b6adc6a343c11f512c9bb3a1a0ee181e
BLAKE2b-256 checksum
How to use checksums
a1adc2b0949cf999538042b99e57989723bb4d92be63450f2744b313e789e5fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hg-request-pull 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page