AW: Detect incompatible (future) workingcopy format.
From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Fri, 13 May 2011 15:46:26 +0200
Hi, Les,
> Von: Les Mikesell [mailto:lesmikesell_at_gmail.com]
[> ]
As far as I see, no.
If I were about to make that assumption, I'd encode the client library version into our project metadata, and trigger the error handling when that version mismatches.
But I want to ask the subversion library whether it can handle the working copy version, and inform the user if subversion cannot handle it.
Note that we deliver SharpSvn based on Subversion 1.6.16, and this is our first release including subversion, so the implicit upgrade done by earlier svn versions is no use case for us, as no working copies in the old format exist.
Upgrades to future versions (either implicit or explicit as for wc-ng) will be handled by code we write when we ship an update bundled with a newer Version of Subversion requiring that upgrade.
So the only problematic case left is when the user opens a project with a working copy in a new, unknown format. This is the case I want to detect reliably, so that I can inform the user about the solutions (either use a newer version of our software, or disconnect the project from subversion).
Best 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.