You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "S.Ramaswamy" <ra...@collab.net> on 2005/02/17 05:09:40 UTC

'svn mkdir url' with no targets

I modified the mkdir_urls (in subversion/libsvn_client/add.c ) to empty
all the targets before creating new commit items ("while( targets->nelts
) { apr_array_pop(targets) }" ),and then did a 'svn mkdir url' with an
existing url. Instead of getting an error message the repository
revision number gets incremented . svn_delta_path_driver correctly
bails out when there are no targets. I couldn't follow it any further in
gdb since I kept getting 'broken pipe' errors.

This is not a realistic use case. Just curious why 'svn mkdir url' works
this way.

Thanks
Ramaswamy


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org