[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

'svn mkdir url' with no targets

From: S.Ramaswamy <ramaswamy_at_collab.net>
Date: 2005-02-17 06:09:40 CET

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
Received on Thu Feb 17 06:12:58 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.