Re: Automatic update & commit
From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Thu, 24 May 2012 07:09:45 +0000
>>> I would like to move the core automatic commit& update code to TSVN
Then add a third value "read only" that makes it possible to optionally use automatic mode, but restricted to read only? That is, it would prevent automatic mode from making commits, but not prevent it from making updates.
> Imagine an open source project setting that property....
Just because it's not useful for open source projects that rely on a strict policy of who may commit to the repository doesn't mean that it isn't useful in other circumstances.
>> When I think about it I'd even go as far as saying that automatic mode
That would probably help somewhat. Coupled with a suitably worded confirmation dialog might be enough to stop accidental activation (and the hilarity that would ensue).
> If that's not enough, only showing the entry in the extended menu would
To be honest: I'm not very fond of the extended menu. (Because it is the menu that you get when holding ctrl when right-clicking, right?) It is so close to an easter egg that I wouldn't even wish it to my least favorite feature to be hidden there. :-)
>> Anyway, I think this needs some thought before TSVN with a little help
How about making it possible to disable the automatic mode with a registry entry? This would (imho) be much worse than the per-project property, but would at least allow sysadmins to disable the feature on a per-workstation basis in a company if desired.
Also: It would be nice if it was possible to detect "automatic" commits in a hook script to be able to block them on that level. Perhaps some kind of (configurable?) "signature" in the commit message with some sensible default?
Maybe I'm reading way too much into this, but I really don't feel that good about the prospect of trying to manage a barrage of erroneous commits enabled by a mistaken (or misinformed) TSVN menu click.
Hans-Emil
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
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.