生成挂起更改的摘要

hg-request-pull的Python项目详细描述


Author:Roman Neuhauser
Contact:neuhauser@sigpipe.cz
Copyright:This document is in the public domain.

hg request pull是提供单个命令的Mercurial扩展, 请求拉取。此命令显示 (底部,头部)范围,包括适当的拉动命令行,以及 差异统计。

它受到git请求拉取(1)的启发,并与之类似。

许可证

此程序是免费软件:您可以重新分发和/或修改 根据由 自由软件基金会,或者许可证的第3版,或者 (由您选择)任何更高版本。

安装

使用PyPI中的pip安装,python包索引:

pip install hg-request-pull

从BitBucket克隆:

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

从源安装:

python setup.py install

在任何情况下,您都需要编辑~/.hgrc以包含

[extensions]
hgext.request-pull =

您可能需要提供到request-pull.py的路径,具体取决于 如何安装hg request pull

用法

hg-request-pull -h
hg-request-pull [-c CHECKS] [-p] URLBASE [HEAD]
-hDisplay 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假定为,除非另有要求。

-p显示修补程序文本。
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 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(-)

错误

毫无疑问是充足的。请在 https://bitbucket.org/roman.neuhauser/hg-request-pull/issues

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
如果在每次迭代后返回到原始状态,java是否可以安全地对正在迭代的数组进行变异?   linux java对'main'集合的未定义引用2:ld返回1退出状态   java如何在dynamodb上按多个字段进行排序(有解决方法吗)?   java错误处理servlet停止工作,我不知道原因:(   多线程如何在Java中暂停/恢复ExecutorService中的所有线程?   java为什么是我的jsoup。连接(url)无法使用某些url?   多线程理解Java多线程中的内存可见性   java sonar scanner可以在没有sonarqube服务器的情况下工作吗   如何从java中的页面获取不同的url?   java从文件中查找命令行中指定的单词   java类的“set”方法是否应该返回“void”或“boolean”?   如何使用java代码批量读取文件内容   二进制十进制(java.lang.NumberFormatException)   java如何在同一个句子中分别替换同一个单词但大小写不同?   java Spring `RestController`方法注释了`Transactional`,但“当前没有活动的事务”?   java OWL API:如何将域分配给OWLObjectProperty上的范围   java变量末尾的$有特殊意义吗?   java什么距离计算(经度、纬度)更精确?   卡片布局java GUI