comparison tests/test-init @ 11640:c3e8ab80ee90 stable

init: create target directory recursively Subrepos with relative paths must often be cloned to locations deep in the directory structure. This allows clone over ssh (init+push) work.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 21 Jul 2010 19:29:57 +0200
parents 671b3e1eac2e
children
comparison
equal deleted inserted replaced
11639:a0c5f531daab 11640:c3e8ab80ee90
82 echo "# hg init \"$i\"" 82 echo "# hg init \"$i\""
83 hg init "$i" 83 hg init "$i"
84 test -d "$i" -a -d "$i/.hg" && echo "ok" || echo "failed" 84 test -d "$i" -a -d "$i/.hg" && echo "ok" || echo "failed"
85 done 85 done
86 86
87 echo "# creating 'local/sub/repo'"
88 hg init local/sub/repo
89 checknewrepo local/sub/repo