同时影响多个存储库的Mercurial扩展。

multirepo的Python项目详细描述


Mercurial扩展以影响多个 同时存储库。影响其他存储库的所有命令 (pushpathsoutbundle)被包装。

安装

如果已在PYTHONPATH中安装multirepo.py,请激活 扩展名.hgrc

[extensions]
hgext.multirepo=

否则,您需要指定扩展名的完整路径:

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

用法

将目标路径添加到multirepo节中的.hgrc;属性 从path开始。被解释为多回购的目标:

[multirepo]
path.abc = /path/to/a/repo
path.another = /path/to/another/repo

路径default包含在 除非设置include.default,否则指向此扩展的路径列表将成为目标 到false

[multirepo]
include.default = False
path.abc = /path/to/a/repo
path.another = /path/to/another/repo

所有包装的命令都会影响所有目标,除非在 命令行。

树脂

about:

I first wrote multirepo so that I could push to a backup repo and a public repo in a single operation. Then, I started using the extension at work to manage a series of repos used by the team.

contributors:
  • Iain Lowe <iain.lowe@gmail.com>
  • Faheem Mitha <faheem on #mercurial>
  • Brendan Cully <brendan on #mercurial>
copyright:

Copyright (C) 2009-2010 by Iain Lowe <iain.lowe@gmail.com>.

license:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

推荐PyPI第三方库


热门话题
java JNLP无法在浏览器中正确启动(与dtjava.js一起部署)   在执行下一个方法之前,java将等待线程执行结束   java如何将另一个LayoutManager应用于JComboBox?(多栏JComboBox尝试)   使用jPBC在java中实现双线性配对   java在使用@RequestMapping注释时获取请求的值(URL)   java如何控制流量   java如何获取IFC对象的绝对坐标?   java目标服务器无法使用htmlunit和tor响应异常   java需要帮助创建一个循环结构来运行我的程序   java有可能拥有一个Android APK并在应用程序中更改构建变体吗?   在Sphinx4中运行Ant的java   Java:从ArrayList获取子列表的有效方法   java如何使在循环内部创建的数组在循环外部工作?   apache poi通过java中的XSSF表从单元格读取日期值   安卓 java自己的SeqLock实现,避免spinlock会更好吗?   java的并发底层方法。util。同时发生的预定未来   java比较方法违反了它的一般约定,如何使它具有可传递性?   使用JAVA定向指定类的DB导出子类   一个方法中的java更改特定imageView