[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Add Parent Directories.

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 22 Jul 2012 11:16:27 +0100

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
Received on 2012-07-22 12:17:11 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.