# HG changeset patch # User Richard Westhaver # Date 1721601674 14400 # Node ID a3135650c721c71c3d98bf48fe7ce5886944c753 # Parent 5964a3cb871e2f341b2d990397597a38359f4b8c fix diff -r 5964a3cb871e -r a3135650c721 scripts/init-vc-bundles.sh --- a/scripts/init-vc-bundles.sh Sun Jul 21 18:16:57 2024 -0400 +++ b/scripts/init-vc-bundles.sh Sun Jul 21 18:41:14 2024 -0400 @@ -1,11 +1,12 @@ -#!/bin/sh +#!/bin/bash # given a directory bundle files (.hg), unbundle and replace # the files with bare directories. DIR="${1:-/home/vc/src/}" cd $DIR -for i in $(find . -type f -name ".hg"); do +echo "entering $DIR" +for i in $(find . -type f -name "*.hg"); do echo "unbundling $i" r=(basename "$i" .hg) hg init "$r"