SVN升级工作副本 [英] SVN upgrade working copy

查看:1337
本文介绍了SVN升级工作副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法执行SVN提交.我收到此错误:

I cannot do a SVN commit. I get this error:

org.apache.subversion.javahl.ClientException: The working copy needs to be upgraded
svn: Working copy 'C:\.... is too old (format 10, created by Subversion 1.6)

如何解决?

推荐答案

您必须将Subversion客户端至少升级到1.7.

You have to upgrade your subversion client to at least 1.7.

对于命令行客户端,您必须通过发出命令svn upgrade来手动升级工作副本格式:

With the command line client, you have to manually upgrade your working copy format by issuing the command svn upgrade:

升级工作副本

Subversion 1.7对工作副本进行了实质性更改 格式.在Subversion的早期版本中,Subversion将 写入时自动将工作副本更新为新格式 操作已执行.但是,Subversion 1.7将使它成为 手动步骤.在将Subversion 1.7及其工作副本一起使用之前, 用户将需要运行新命令svn upgrade来更新 元数据转换为新格式.此命令可能需要一段时间,并且 一些用户,简单地结帐新的工作方式可能更实用 复制.
Subversion 1.7发行说明

Subversion 1.7 introduces substantial changes to the working copy format. In previous releases of Subversion, Subversion would automatically update the working copy to the new format when a write operation was performed. Subversion 1.7, however, will make this a manual step. Before using Subversion 1.7 with their working copies, users will be required to run a new command, svn upgrade to update the metadata to the new format. This command may take a while, and for some users, it may be more practical to simply checkout a new working copy.
— Subversion 1.7 Release Notes

TortoiseSVN将在下一个写入操作中执行工作副本升级:

TortoiseSVN will perform the working copy upgrade with the next write operation:

升级工作副本

Subversion 1.7对工作副本进行了实质性更改 格式.在以前的版本中,Subversion会自动更新 当执行写操作时,将工作副本转换为新格式 执行.但是,Subversion 1.7将使之成为手动步骤.

Subversion 1.7 introduces substantial changes to the working copy format. In previous releases, Subversion would automatically update the working copy to the new format when a write operation was performed. Subversion 1.7, however, will make this a manual step.

在将现有的工作副本与TortoiseSVN 1.7一起使用之前,您需要 必须先升级格式.如果右键单击旧的工作 复制,TortoiseSVN在上下文菜单中仅显示一个命令: 升级工作副本.
TortoiseSVN 1.7发行说明

Before you can use an existing working copy with TortoiseSVN 1.7, you have to upgrade the format first. If you right-click on an old working copy, TortoiseSVN only shows you one command in the context menu: Upgrade working copy.
— TortoiseSVN 1.7 Release notes

这篇关于SVN升级工作副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆