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

RE: Re: Show colleagues locks BEFORE edit...

From: Wayne Johnson <wayne_at_zk.com>
Date: Fri, 30 Apr 2010 09:18:07 -0700

> Hi BOb,
>
> Agreed - that solution would be rubbish.
>
> BUT, requesting the status of a file as soon as the modify event is
> issued in a dev environment (i.e. developer starts changing file) &
> warning the user that this is locked before they do too much work
would
> be a great compromise.
>

I still don't understand how this is useful. The *only* way locking
works is if you lock the file before you start editing it. What if the
file is not locked when you start editing it but *is* locked when you go
to check it in?

Further How is Tortoise to know that you have started to change a file.
Unless the editor (or whatever you use to change the file) saves it on
every single change there is no way for any other program to know that
the file is changing. So for your scheme to work the editor would have
to check the status of the lock and not Tortoise. And actually it would
really want to check whether or not the file requires locking, not the
lock status. Maybe our editor has some sort of macro facility that would
allow this to be done?

Wayne

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2599843

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-30 18:36:08 CEST

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

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