AW: Detect incompatible (future) workingcopy format.
From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Fri, 13 May 2011 15:40:29 +0200
Hi, Erik,
> Von: Erik Huelsmann [mailto:ehuels_at_gmail.com]
Yes, I intend to use the libraries (rsp. the subset exposed by the SharpSNV wrapper) for everything. That's why I'm looking for an API call to gather that information.
When the user opens a CoDeSys project which was created or modified by a newer (future) CoDeSys version, that project may have an embedded working copy which was created (or upgraded to) a newer format. When detecting this, I want to inform the user that the working copy has a future, incompatible format. That means he either has to use a newer version of our software (which knows how to handle that working copy as it includes the newer client version), or he has to disconnect the project from subversion (which turns it into an unversioned project by dropping the working copy).
One possibility is to create some versioning scheme and save it into the project meta data, the other possibility is to let Subversion itself detect whether it can handle the working copy.
(I blindly assume that Subversion 1.6.16 is not able to downgrade an existing workingcopy from future, incompatible formats back to 1.6 :-).
Regards,
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.