--- a/Plugins/VcsPlugins/vcsPySvn/subversion.py Sun Nov 24 17:10:51 2013 +0100 +++ b/Plugins/VcsPlugins/vcsPySvn/subversion.py Sun Nov 24 17:52:37 2013 +0100 @@ -2452,6 +2452,27 @@ locker.unlock() return changelists + + def svnUpgrade(self, path): + """ + Public method to upgrade the working copy format. + + @param path directory name to show change lists for (string) + """ + client = self.getClient() + dlg = \ + SvnDialog(self.trUtf8('Upgrade'), + "upgrade {0}".format(path), + client) + QApplication.processEvents() + locker = QMutexLocker(self.vcsExecutionMutex) + try: + client.upgrade(path) + except pysvn.ClientError as e: + dlg.showError(e.args[0]) + locker.unlock() + dlg.finish() + dlg.exec_() ########################################################################### ## Private Subversion specific methods are below.