Hi, I'm implementing the subversion protocol 2 in Java and I have the following problem.
When I try to commit a new Folder I received from the standard svn client the command ( add-dir ( 1:z 2:d0 2:d1 ( ) ) ) where z is the dir name, d0 is the roken for the parent folder and d1 is the token for the new folder. Based on the following directory structure. myWc/ |__dirA I created a new dir called 'z' under the folder 'dirA'. When I execute the command svn ci -m "msg" from a standard svn client I receive the following operations from the client ( open-root ( ( ) 2:d0 ) ) ( add-dir ( 1:z 2:d0 2:d1 ( ) ) ) ( close-dir ( 2:d1 ) ) ( close-dir ( 2:d0 ) ) ( close-edit ( ) ) My problem is the add-dir has as parent the token d0 and d0 is the root, so the new folder is add in the root folder instead of 'dirA'. How can I figure out the parent if the command svn client doesn't send the open-dir for the parent root folders of the new folder ? Thanks in advance, Ignacio