--parents is supported for urls below a repository, but I agree that we should reduce the number of errors that show this hint.
Bert
Sent from Windows Mail
From: Daniel Shahaf
Sent: Friday, March 29, 2013 12:25 AM
To: dev_at_subversion.apache.org
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:44:29 CET