Thanks! I took a look of all the msg and based on your explanation the first message has the directory for the root of the operation
( 2 ( edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops ) 24:svn://localhost:8000/x/y 20:SVN/1.6.12 (r955767) ( ) ) Thanks a lot! Regards Ignacio On Thu, Sep 1, 2011 at 5:16 PM, C. Michael Pilato <[email protected]>wrote: > On 09/01/2011 03:42 PM, Ignacio Manzano wrote: > > 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 ? > > "open-root" doesn't mean "open the root of the repository". It means, > "open > the root directory of the operation". You'll need to consult additional > sources of information (for example, the URL which is the target of the > operation) to determine precisely which directory is the root of the > operation. > > -- > C. Michael Pilato <[email protected]> > CollabNet <> www.collab.net <> Distributed Development On Demand >

