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

Re: [TSVN] how should the UI look like

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-08 22:41:54 CEST

J. Richard Mills wrote:
>>That's not really going to work. You can lock multiple files at once.
>>And maybe only one of them is already locked, but maybe 2 or
>>even more
>>of them. So for each failed lock, we would have to show that dialog.
>>That's not good UI design - such a dialog always interrupts a
>>user from
>>whatever (s)he's doing.
>
>
> I like Toby's suggestion of throwing up the list with check boxes, ala
> the commit window as it stands today.

Just played a little bit with lock/unlock:
- an already locked file can't be locked again even if the username
matches (i.e. if the user himself has the lock already - relocking is
not possible). That lock would have to be stolen too.
- If multiple files should be locked, the whole operation stops on the
first failed lock, so no list of files which aren't locked. Either all
or nothing.

> Random Question: What does "lock" do on a directory? Lock all files?
> Or the directory itself? Recursive? I'm sure this is all answered in
> the SVN specs for 1.2 somewhere. Does it impact the GUI at all?

Only files can be locked. Folders can't be locked. So the context menu
will only be available for files, not folders.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Apr 8 22:42:15 2005

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

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