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

Reply via email to