On 31.05.2013 17:27, C. Michael Pilato wrote:
> On 05/31/2013 11:23 AM, C. Michael Pilato wrote:
>> On 05/31/2013 10:35 AM, Julian Foad wrote:
>>> Just an opinion from general experience in the world of computers. With
>>> any system where some resource is reserved (locked), it can be useful to
>>> find out who/what has the lock. So, a system that tells me the repo is
>>> currently locked by which of the following:
>>>
>>> commit
>>> pack
>>> freeze
>>> ...
>>>
>>> would be useful, in my opinion. An output that enumerates one of the
>>> above list would be useful.
>> Don't most OSes provide tooling for this, though?
> Just to clarify, I'm talking about the likes of this:
>
> $ cd ~/tests
> $ flock lockfile lsof | grep `pwd`/lockfile
> flock 2912 cmpilato 4uW REG 8,5 0 3500312
> /home/cmpilato/tests/lockfile
> $
I was about to say the same thing; at best we can put a couple examples
in tools/server-side.
-- Brane
Received on 2013-05-31 17:32:59 CEST