Created
April 25, 2020 01:14
-
-
Save phargogh/6ca40c49ed63a985634938e97ee2c80b to your computer and use it in GitHub Desktop.
Archiving mercurial repositories from bitbucket: project natcap-archive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPO_DIR=$(pwd)/repos | |
OUT_DIR=$(pwd)/bundles | |
mkdir -p $OUT_DIR $REPO_DIR | |
for sshrepo in `cat repos.txt` | |
do | |
REPONAME=$(echo $sshrepo | cut -d '/' -f 5-) | |
TARGETDIR=$REPO_DIR/$REPONAME | |
hg clone $sshrepo --noupdate $TARGETDIR | |
pushd $OUT_DIR | |
hg bundle --all -R $TARGETDIR $REPONAME.hg-bundle | |
popd | |
done | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh://[email protected]/natcap-archive/natcap-dev.invest-doc-webbuild | |
ssh://[email protected]/natcap-archive/rios-archive | |
ssh://[email protected]/natcap-archive/invest-natcap.wiki | |
ssh://[email protected]/natcap-archive/invest-natcap.inseam | |
ssh://[email protected]/natcap-archive/natcap-dev.bdy-to-shp | |
ssh://[email protected]/natcap-archive/natcap-dev.cv-game | |
ssh://[email protected]/natcap-archive/natcap-dev.cython-py2win | |
ssh://[email protected]/natcap-archive/natcap-dev.geocoder | |
ssh://[email protected]/natcap-archive/natcap-dev.geometry | |
ssh://[email protected]/natcap-archive/natcap-dev.img-to-tiff | |
ssh://[email protected]/natcap-archive/natcap-dev.investforum | |
ssh://[email protected]/natcap-archive/natcap-dev.invest-gui-tracer | |
ssh://[email protected]/natcap-archive/natcap-dev.invest-hra-gui | |
ssh://[email protected]/natcap-archive/natcap-dev.invest-usage-logging | |
ssh://[email protected]/natcap-archive/natcap-dev.issue-migrate | |
ssh://[email protected]/natcap-archive/natcap-dev.megamatrix | |
ssh://[email protected]/natcap-archive/natcap-dev.multi-poly | |
ssh://[email protected]/natcap-archive/natcap-dev.nautilus-miller-cols | |
ssh://[email protected]/natcap-archive/natcap-dev.nightly-build | |
ssh://[email protected]/natcap-archive/natcap-dev.percent-land-dow | |
ssh://[email protected]/natcap-archive/natcap-dev.qgis | |
ssh://[email protected]/natcap-archive/natcap-dev.raster-atributes | |
ssh://[email protected]/natcap-archive/natcap-dev.reef-webapp | |
ssh://[email protected]/natcap-archive/natcap-dev.sdr-utils | |
ssh://[email protected]/natcap-archive/natcap-dev.text-stemmer | |
ssh://[email protected]/natcap-archive/natcap-dev.tradeoff-game | |
ssh://[email protected]/natcap-archive/natcap-dev.tweet-hackathon | |
ssh://[email protected]/natcap-archive/natcap-dev.unilever | |
ssh://[email protected]/natcap-archive/natcap-dev.unilever-plots | |
ssh://[email protected]/natcap-archive/natcap-dev.unilever-src | |
ssh://[email protected]/natcap-archive/natcap-dev.wiki | |
ssh://[email protected]/natcap-archive/map-overlay-annotation | |
ssh://[email protected]/natcap-archive/map-overlay-annotation.mvc | |
ssh://[email protected]/natcap-archive/map-overlay-annotation.wiki | |
ssh://[email protected]/natcap-archive/invest-natcap.bin-to-tiff | |
ssh://[email protected]/natcap-archive/invest-natcap.adept |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment