AW: new conflict callback API
From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Wed, 16 May 2012 14:52:46 +0000
Hi, Stefan,
Von: Stefan Sperling [mailto:stsp_at_elego.de]
Hmm, this may lead to _very_ special strategies implemented in the core.
Like when a CoDeSys Device plugged into a Slot conflicts, and a neighbor slot is empty.
On the SVN Working copy, this looks like (irrelevant files and directories omitted):
Device (Device node directory)
Now the conflict can be either a "normal" conflict of Device/[1]/svnobj, or an "incoming addition and local addition" tree conflict on the Device/[1]/ directory (Maybe after resolving a similar conflict on the Device parent directory).
I can offer the user the following two possibilities (amongst others):
For resolution 1, I need to:
For resolution 2, I need to:
For our part, we're not interested in the history of directories as such at all (except that the're part of the path of the file), only the data files and their properties are of interest, and those have their very own structural semantics and constraints.
> I don't think it helps our users if every client developer keeps
This will work fine for "most" clients, where I define "most" as those simply working on a directory tree, and then the build toolchain / compiler / IDE / whatever has to cope what is in the directory tree.
For clients which version something else (like the CoDeSys object database) which has their own structure and constraints, the semantic translation needed between that "something else" and the directory tree may prohibit some ways of conflict resolution, while offering some new ones on the other hand.
> So, the APIs should present the supported options, and then act upon the
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.schaber@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 167014915Received on 2012-05-16 16:53:23 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.