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

Re: 'mkdir' UI buglet

From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 28 Mar 2013 23:42:18 +0000

--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

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