Hendy Irawan wrote:
> I added an explanation where this usually (99% of the time? at least
> according to Google) means the repository runs out of disk space.
>
> Please accept this patch.
I've reproduced your patch below.
There could be other reasons for being unable to find a temporary
directory, with being out of disk space only one of them. The directory
may not exist, it may not be writable by the user, or Subversion could
be prohibited from writing there by other means (eg, SELinux). I
hesitant to give more information in this error message, for fear of
leading other users astray.
-Hyrum
index dd29b82..fcc4fdd 100644
--- a/subversion/libsvn_subr/io.c
+++ b/subversion/libsvn_subr/io.c
@@ -645,7 +645,7 @@ svn_io_temp_dir(const char **dir,
apr_status_t apr_err = apr_temp_dir_get(dir, pool);
if (apr_err)
- return svn_error_wrap_apr(apr_err, _("Can't find a temporary
directory"));
+ return svn_error_wrap_apr(apr_err, _("Can't find a temporary
directory (repository probably runs out of disk space)"));
*dir = svn_path_canonicalize(*dir, pool);
Received on 2008-01-31 23:00:00 CET