Hi, -----Ursprüngliche Nachricht----- Von: Philip Martin [mailto:philip.mar...@wandisco.com]
>Branko Čibej <br...@apache.org> writes: > >> On 20.02.2012 09:51, Markus Schaber wrote: >>> Hi, >>> >>> What about an "-exclusive" general option to the svn command line client, >>> which triggers exclusive wc access for that specific command invocation / >>> session? >> >> And you expect users to know when to use it, and especially when /not/ >> to use it? >> >> Come now. Controlling performance tweaks from the user interface is >> hardly good design. > Not sure I agree, I don't see how anything other than the user can make the > choice. > The user has more information than the application can ever have. If the > user wants to be able to run two subtree updates in parallel then exlusive > locking must not be enabled. If the user wants to run status during an > update then exclusive locking must not be enabled. If the user is happy with > one process having exclusive access then exclusive locking is a major > performance gain. If the user isn't making that decision how else can it be > made? In case of the CoDeSys Subversion Plugin, said Plugin is the only one expected to access the working copy, as it is hidden from the user. So using an exclusive lock to gain speedups certainly is an option. Best regards Markus Schaber -- ___________________________ We software Automation. 3S-Smart Software Solutions GmbH Markus Schaber | Developer Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50 Email: m.scha...@3s-software.com | Web: http://www.3s-software.com CoDeSys internet forum: http://forum.3s-software.com Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915