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

'mkdir' UI buglet

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Fri, 29 Mar 2013 01:25:43 +0200

Another one I randomly ran into:

% $svn mkdir -qmm file://$PWD/r/$RANDOM
svn: E000002: Try 'svn mkdir --parents' instead?
svn: E000002: Can't create directory '/home/daniel/src/svn/t1/r/db/transactions/1-5.txn': No such file or directory

I get what's happening --- the code, presumably, checks for
APR_FROM_OS_ERROR(ENOENT) --- but, well, it shouldn't do that for URL
targets.

(If we ever try to create a directory under .svn/ during an 'svn mkdir
PATH' operation, and fail to do so, we shouldn't suggest --parents
either; but I'm not sure how we would detect that.)

Daniel
Received on 2013-03-29 00:27:47 CET

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.