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

Re: mod_dav_svn errors for POST and other requests

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Tue, 16 Apr 2013 16:02:27 +0300

Philip Martin wrote on Tue, Apr 16, 2013 at 12:40:06 +0100:
> $ svn -mm mkdir http://localhost:8888/obj/repo/A
> svn: E000013: Can't move '/home/pm/sw/subversion/obj/repo/db/txn-protorevs/2-b.rev' to '/home/pm/sw/subversion/obj/repo/db/revs/0/3': Permission denied

Are we sending "13" as an error code across the wire? That's a system
error code (EACCES), not an svn error code, so in principle there is no
guarantee the client can interpret it. (Not sure if that's a problem in
practice.) Shouldn't we be returning an SVN_ERR_* error code?
Received on 2013-04-16 15:03:57 CEST

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