--parents is supported for urls below a repository, but I agree that we should reduce the number of errors that show this hint.
Sent from Windows Mail
From: Daniel Shahaf
Sent: Friday, March 29, 2013 12:25 AM
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
(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.)
Received on 2013-03-29 00:44:29 CET
This is an archived mail posted to the Subversion Dev