On Thu, Jul 14, 2011 at 12:58:24PM +0100, Julian Foad wrote: > When the WC is locked we may (depending on the timing) see: > > $ svn up -q & svn up -q > svn: E155004: Working copy '/home/...' locked. > svn: E155004: '/home/...' is already locked. > svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for > details)
What always bothered me about this message is that it does not explain the most likely reason why the working copy may be locked. Namely that another client is currently accessing the working copy, such as some GUI client performing background operations. The message currently implies that the only course of action is to run cleanup, but this is precisely the wrong thing to do if another client is performing an operation that will take a bit of time. So I would like this to say, maybe: svn: E155004: Working copy '/home/...' locked. svn: E155004: '/home/...' is already locked. svn: another Subversion client might be modifying the working copy at the moment; please try again later svn: if there is no other client run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)