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

suggestion: enhance workspace locking/clean message

From: Jens Christian Restemeier <jens_at_playtonicgames.com>
Date: Fri, 3 Jun 2016 15:05:02 +0100

Hi,

At the moment users get a "workspace is locked, please run clean" style
message if they run two subversion commands on the same workspace. Obviously
the solution is to "not do that", but for example with subversion integrated
into tools it may not be obvious to a user. I had several users corrupt a
workspace by running a clean against a running command.

 

My suggestions:

Store a process identifier together with whatever is used to lock a
workspace, send a "ping" style message to the active process when another
command is run. If the other command is still running change the report to
"another process is still accessing the workspace"

Optionally block the second process until the first process is complete.
actually I was thinking about implementing that in our tools by peeking into
the workspace lock data, but didn't have time so far.

 

Cheers,

Jens

 
Received on 2016-06-03 16:05:25 CEST

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

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