Hi, 

I'm trying to add new items to my repository, and have the following
problem:

I have the following local WC (versioned):  C:\Users\Nofar\Desktop\SVN\Test

I've manually added the following items in the files system:

Dir:  C:\Users\Nofar\Desktop\N SVN\Test\Add_Dir
File: C:\Users\Nofar\Desktop\N SVN\Test\Add_Dir\2.txt
Dir:  C:\Users\Nofar\Desktop\N SVN\Test\Add_Dir\Dir2

Now, I want to add the above items and commit the changes to the repository.

I tried using:

File toAdd = new file ("C:\Users\Nofar\Desktop\N SVN\Test\Add_Dir")'
wcClient.doAdd(toAdd, true,true,true,SVNDepth.INFINITY, true, true);

right after using doAdd, I checked these item's status (via doStatus) and
their status is:

C:\Users\Nofar\Desktop\N SVN\Test\Add_Dir is in status added
C:\Users\Nofar\Desktop\N SVN\Test\Add_Dir\2.txt is in status unversioned
C:\Users\Nofar\Desktop\N SVN\Test\Add_Dir\Dir2 is in status unversioned

I have no idea what am I doing wrong but I seems like can't add everything
recursively.

Can you please tell me how should I use it?

Thanks!

Nofar.
-- 
View this message in context: 
http://old.nabble.com/SVNWCClient--%3E-toADD---doesn%27t-work-recursively-tp31306296p31306296.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.


Reply via email to