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

"svn add" can't add files in a version controlled directory recursively

From: Liu Yubao <yubao.liu_at_gmail.com>
Date: 2006-12-14 06:35:08 CET

    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
Received on Thu Dec 14 06:43:25 2006

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.