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

Re: [TSVN] RFE: Lock_and_open as a single command

From: Kalin KOZHUHAROV <kalin_at_thinrope.net>
Date: 2005-09-08 18:59:40 CEST

Stefan Küng wrote:
> Simon Large wrote:
>> Kalin KOZHUHAROV wrote:
>>> Milen A. Radev wrote:
>>>> On 07/09/05, Kalin KOZHUHAROV <kalin@thinrope.net> wrote:
>>>>> Hi again.
>>>>> Today I just found out myself working with a lot of Word files set
>>>>> with svn:needs-lock...
>>>>> The algorithm is:
>>>>> right-click, get lock, don't write MSG, press OK, wait, press OK,
>>>>> double-click
>>>> You could select several files (in a folder) at once and "Get Lock..."
>>>> for all of them.
>>> Yes, but a have to edit them one after another usually, with other
>>> devs writing in between. That is why we divided a huge single file
>>> into several small ones at first place.
>> So your method of working is:
>> repeat
>> lock 1 file
>> open/edit/save file
>> commit 1 file
>> until TimeToGoHome
>> > Suggest command name "lock && open" :-)
>> I was going to suggest "open with lock" ;-)
> Even though I like your suggestion to make it somehow easier to lock and
> open a file, I really don't like the idea of adding yet another context
> menu entry. There already are way too much for my taste (I often have to
> look for the command I need in those too many entries).
> Do you have any other ideas on how to implement this (without an
> additional menu entry)?

Ideas - plenty of them :-)

In 5 seconds thoght, after all being in windoze, Ctrl+DoubleClick, Ctrl+Enter
on a selected file or any other probably not used similar combination.
Ctrl+DoubleClick - select and lock the file then normal Enter or one more DoubleClick to open it?

I also find the long menu not too convinient, but I like the idea of a 2 level menu.
What about 3 level? If I can move Branching and related, merge, and probably some others
(on my Gentoo machine now, I cannot check) to L3 I'll be happy.
update, log, commit, lock/unlock are used 80% of the time; diff, browse - 15% of the tiem in our team.

BTW, while on locking and menus, will it be possible to have a single menu for lock/unlock?
It is a context menu, so it should work as a toggle (be unlock if file is locked, lock otherwise).
If a bunch of locked/unlocked files is selected, default to lock (the unlocked files).


P.S. Still havent tested the i18n issue with the TSVN r4334, sorry. Dealyed for tomorrow.

|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Sep 8 19:00:39 2005

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