You can do it simply:
svn add --force A
2006/12/14, Liu Yubao <yubao.liu@gmail.com>:
> Hello,
> I find "svn add" can't add files in a version controlled directory recursively.
>
> $ mkdir A
> $ svn add A
> $ mkdir A/B A/C
> $ touch A/B/b A/C/c
> $ svn add A
> svn: warning: 'A' is already under version control
>
> It's annoyed to give full paths if there are many files to be added spreading across
> different sub directories whose common parent directory is already under version control.
>
> I know I can use "find . -name .svn -prune -o -exec svn add {} \;", but it will produce
> many warnings and usually isn't usable on Windows if the user has not installed Cygwin
> or MSYS.
>
> Any advice for this scenario is appreciated.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 14 06:52:20 2006