6
RyanWilcox habían publicado un script en here, que se puede utilizar el siguiente comando para agregar automáticamente subrepository:Mercurial: script de Windows para agregar automáticamente subrepository
$ cd $TOP_OF_HG_PROJECT
$ addsubrepo.sh $URL_TO_HG_PROJECT relative_path/you/want_to/put_the_subrepo
Cómo traducirla en lotes o secuencia de comandos de Windows PowerShell?
¡Gracias por el código! Me sale un error sin embargo. Necesito reemplazar 'if (test-path" .hg "-eq $ false)' a 'if ((test-path" .hg ") -eq $ false)'. –
Gracias, corregido ahora en el código. – vonPryz