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

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

From: Liu Yubao <yubao.liu_at_gmail.com>
Date: 2006-12-14 07:27:15 CET

Yes, it does work well, thanks!

Dongsheng Song wrote:
> 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 07:29:23 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.