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

Re: Problem with Fedora 18

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 21 Feb 2013 14:46:31 +0100

On Thu, Feb 21, 2013 at 09:47:34AM -0300, Celso Tadao Suzuki wrote:
> Hi,
>
> Yes, you are right again.
> I ran the nfslock service and the svn is working fine now.
>
> Thank you for your attencion.
>

Perhaps we should apply a patch like this?
(I haven't run the tests on it yet.)

[[[
* subversion/svn/svn.c
  (sub_main): Advise users about possible causes of SVN_ERR_SQLITE_BUSY.
]]]

Index: subversion/svn/svn.c
===================================================================
--- subversion/svn/svn.c (revision 1448349)
+++ subversion/svn/svn.c (working copy)
@@ -2829,6 +2829,18 @@ sub_main(int argc, const char *argv[], apr_pool_t
                          "(type 'svn help cleanup' for details)"));
         }
 
+ if (err->apr_err == SVN_ERR_SQLITE_BUSY)
+ {
+ err = svn_error_quick_wrap(err,
+ _("Another process is blocking the "
+ "working copy database, or the "
+ "underlying filesystem does not "
+ "support file locking; if the working "
+ "copy is on a network filesystem, make "
+ "sure file locking has been enabled "
+ "on the file server"));
+ }
+
       return EXIT_ERROR(err);
     }
   else
Received on 2013-02-21 14:47:18 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.