Kaushal Shriyan wrote on Sun, Jul 22, 2012 at 11:01:37 +0530: > Hi, > > if there is new directory and subdirectory and files in these directories, > is there a way to add all at once instead of adding one by one? > > + svn add --parents > /home/exampledomian/prod_tag/release23/utils/healthChecks/iciciHealthCheck.php > svn: No versioned parent directories > read -p "Commit message: " message > + read -p 'Commit message: ' message > Commit message: Adding Files for Portal 2308 > svn commit -m "$message" "${files[@]}" > + svn commit -m 'Adding Files for Portal 2308' > /home/exampledomian/prod_tag/release23/utils/healthChecks/iciciHealthCheck.php > svn: '/home/exampledomian/prod_tag/release23/utils/healthChecks' is not a > working copy > svn: '/home/exampledomian/prod_tag/release23/utils/healthChecks' does not > exist > > Any clue? >
set -e in your shellscript. Also, you are probably passing the path to a repository dir or to an exported tree, instead of the path to a working copy (or the URL to a repository). > Regards > > Kaushal