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

Re: Automatic update & commit

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 23 May 2012 20:30:48 +0200

On 23.05.2012 09:25, Hans-Emil Skogh wrote:
>> I would like to move the core automatic commit& update code to
>> TSVN to make it available to a much larger user base.
> ...
>> What would be changed in TSVN UI? - New context menu entry (top
>> level by default?) "Automatic mode"; icon symbolizes on / off
>
> I'd like to propose to add a new TortoiseSVN project property to be
> able to disable this functionality on projects/repositories where
> it's not desirable to use it.
>
> I imagine that an accidental activation of automatic mode followed by
> some enthusiastic moving& editing could wreak havoc on a project in
> very little time without the user understanding what is going on.
>
> The property could be called "tsvn:automaticmode" and the states
> could be "on" (always enable automatic mode for this project), "off"
> (never allow automatic mode on this project) or not set (default)
> which would indicate user choice.

I don't think that's a good idea. Here's why: if you set that property
and disable automatic mode, then you also disable this for all read-only
users who just want to have the updated source.
Imagine an open source project setting that property....

> When I think about it I'd even go as far as saying that automatic
> mode should probably be better disabled by default and have to be
> explicitly enabled in the settings dialog. For users that should use
> automatic mode a system admin could enable the mode for them. The
> risk of accidental activation and the headache that would follow for
> some projects (SVN lacking obliterate and all) is... not a pretty
> picture. Perhaps the install dialog could provide the (non-default)
> choice to install with automatic-mode enabled.
>
> Anyway, I think this needs some thought before TSVN with a little
> help by some user mistakes starts flooding repositories with
> automated commits...

Having the option to turn this on in the submenu, not as a top-level
menu entry should be enough in my opinion.
If that's not enough, only showing the entry in the extended menu would
help as well.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2964656
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-05-23 20:30:58 CEST

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.