任何拉/更新所有子repos的方法?

问题描述 投票:0回答:3
我想切换到Mercurial,但是如果不可能,那对我们来说是不做的。

迪特:好上帝,我今天必须累了...两个问题,我在问的几分钟后找到答案...

有时错过了这一点,并在提出一个问题后立即找到了它:

https://www.mercurial-scm.org/wiki/onsubextension

mercurial subrepos mercurial-subrepos
3个回答
12
投票

3
投票
hgsub tip hgsub pull -u

替代性,批处理脚本可能会有所帮助:

@echo off for /D %%d in (*) do ( if exist %%d\.hg ( echo Verzeichnis %%d cd %%d hg pull -u echo ---------------------------------------------- cd .. ) ) pause
    

1
投票
hg subrepo -r pull hg subrepo -r update


最新问题
© www.soinside.com 2019 - 2025. All rights reserved.