# Whitespace delimited repos to backup
# Backup directory
for REPO in $REPOS; do
echo "Processing $REPO"
if [ -e "$NAME" ]; then
echo "Pulling to $BACKUP_DIR/$NAME"
hg pull $REPO
echo "Clone wasn't found. Cloning from $REPO to $BACKUP_DIR/$NAME!"
hg clone $REPO $NAME