迪特:好上帝,我今天必须累了...两个问题,我在问的几分钟后找到答案...
有时错过了这一点,并在提出一个问题后立即找到了它:
https://www.mercurial-scm.org/wiki/onsubextensionhgsub 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
hg subrepo -r pull
hg subrepo -r update