changelog shortlog graph tags branches files raw help

Mercurial > infra / changeset: fix

changeset 342: a3135650c721
parent 341: 5964a3cb871e
child 343: 28572d262f4c
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 21 Jul 2024 18:41:14 -0400
files: scripts/init-vc-bundles.sh
description: fix
     1.1--- a/scripts/init-vc-bundles.sh	Sun Jul 21 18:16:57 2024 -0400
     1.2+++ b/scripts/init-vc-bundles.sh	Sun Jul 21 18:41:14 2024 -0400
     1.3@@ -1,11 +1,12 @@
     1.4-#!/bin/sh
     1.5+#!/bin/bash
     1.6 
     1.7 # given a directory bundle files (.hg), unbundle and replace
     1.8 # the files with bare directories.
     1.9 
    1.10 DIR="${1:-/home/vc/src/}"
    1.11 cd $DIR
    1.12-for i in $(find . -type f -name ".hg"); do
    1.13+echo "entering $DIR"
    1.14+for i in $(find . -type f -name "*.hg"); do
    1.15   echo "unbundling $i"
    1.16   r=(basename "$i" .hg)
    1.17   hg init "$r"