About a month ago, CodePlex have upgraded their TFS servers to to TFS 2010.

While this transition was supposed to be invisible to users who connect using the SVN interface, it wasn’t.

The Problem

This is what I got while trying to update a project which resides on CodePlex, using AnkhSVN plug-in.

Or in a search-engine friendly way:

SharpSvn.SvnException: Repository UUID 'XXX' doesn't match expected UUID 'YYY' 
   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets) 
   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets) 
   at SharpSvn.SvnClient.Switch(String path, SvnUriTarget target, SvnSwitchArgs args, SvnUpdateResult& result) 
   at SharpSvn.SvnClient.Switch(String path, SvnUriTarget target, SvnSwitchArgs args) 
   at Ankh.Commands.SwitchItemCommand.<>c__DisplayClass7.<OnExecute>b__0(Object sender, ProgressWorkerArgs a) 
   at Ankh.ProgressRunnerService.ProgressRunner.Run(Object arg)

The Solution

We will use Visual Studio excellent “Find and Replace” in files. 
Just follow these steps:

  1. BACKUP your local project folder
  2. Open Visual Studio
  3. Select Edit –> Find and Replace –> Replace in Files (or press Ctrl + Shift + h)
  4. In the “Find what” field write the expected UUID (you can get it from the previous error message)
  5. In the “Replace with” field write the new UUID
  6. In the “Look in” field write the name of the local folder where your project resides
  7. Expand the “Find options” and write the word “entries” in the field named “Look at these file types”
  8. Click “Replace All”

Following is an image that summarize these changes for my project:

When you get the following warnings, just select Overwrite (Alt + o).

And we’re done. Your project is officially fixed.

That’s it for now,

原链接:http://blogs.microsoft.co.il/blogs/arik/archive/2010/08/06/fix-codeplex-error-repository-uuid-xxx-doesn-t-match-expected-uuid-yyy.aspx

svn:Repository UUID 'XXX' doesn't match expected UUID 'YYY'的更多相关文章

  1. org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [41] did not match expected type [java.lang.Integer (n/a)];

    题记:以前记录过一些自己遇到的BUG,这个行为,让我一看报错的提示信息就能定位到问题的所在,后来记得比较多了,好多是重复性的再加上比较忙就没有详细的记录了,今天的工作量比较小,就顺便记录一下,以便以后 ...

  2. ios svn repository

    xcode默认自带Git和svn,首先讲下xcode4.6.3下配置svn: 1.检測你的mac中是否安装了svn: (1) 打开终端,输入 svn --version 假设出现下图信息,则说明已经安 ...

  3. Setting SVN Repository Using TortoiseSVN + Dropbox in 5 Minutes

    SVN is a very common version control system in software development. However configuring SVN server ...

  4. [转]个人源码管理:如何在本机配置自己的SVN Repository (图解)

    本文转自:http://blog.csdn.net/wikijava/article/details/6245588 Repository 即源码的集中存放处,所有修改后提交的源码就是保存在这里,并在 ...

  5. xxx did not match any file(s) known to git

    切换分支的时候,报了标题这么个错误,error: pathspec ''xxx did not match any file(s) known to git. 看见不能切换分支,我首先 git sta ...

  6. SVN: repository browser 库浏览器

    SVN: repository browser  库浏览器 -----如果不想全部下载,可以通过repository browser  库浏览器 从库中选择要下载的文件夹内容下载(svn针对性下载)

  7. git push 报src refspec xxx does not match any的错误

    今天在向一个新的远程分支上推送项目的时候报错: 远程分支branch_new是其他人建的,我在自己本地修改后把自己分支的修改推送到这个远程分支上. 把修改提到本地仓库: git add ./ git ...

  8. 生成Base58格式的UUID(Hibernate Base64格式的UUID续)

    Base58简介 Base58采用的字符集合为“123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ”,从这不难看出,Base58是纯数 ...

  9. 获得32位UUID字符串和指定数目的UUID

    在common包中创建类文件UUIDUtils.java package sinosoft.bjredcross.common; import java.util.UUID; public class ...

随机推荐

  1. Ionic Android开发环境搭建 上

    首先,需要下载并安装Node.js. 什么是Node.js?百科上说:Node.js是一个基于Chrome JavaScript运行时建立的平台, 用于方便地搭建响应速度快.易于扩展的网络应用.Nod ...

  2. 用Drawing画图如何不会消失

    方法一:将事件放在form_Load中,在窗体中画图   1: protected void MainForm_Load(object sender,EventArgs e) 2: { 3: Init ...

  3. C#用反射判断一个类型是否是Nullable同时获取它的根类型(转自网络)

    在我们的应用程序中我们使用类描述我们的业务对象,为我们产生一些报表之类的,那就依赖大量不同的对象,我们创建一个帮助方法来转换我们的业务对象,或是一个List的业务对象到DataTables. 由于数据 ...

  4. linux 在xenserver上安装如何显示图形界面

    centos5.8 64-bit和 centos 6.5 64-bit xenserver安装linux的时候默认使用的VHM,选择对应的虚拟机模板安装linux是Linux Text界面. VHM ...

  5. C# 类构造函数赋值里属性与字段赋值注意项

    public class Test { public Test(int age) { this.Age=age;//如果这里使用的是this.age=age;那么属性里的判断将不会执行 } priva ...

  6. Newtonsoft.Json 基本用法

    Newtonsoft.Json 是.net 开源的一个json格式处理类库 官方网站:http://json.codeplex.com/ 在使用的项目引用Newtonsoft.Json库.平常使用的方 ...

  7. Cocos2d-x场景切换相关函数介绍

    场景切换是通过导演类Director实现的,其中的相关函数如下: runWithScene(Scene* scene).该函数可以运行场景.只能在启动第一个场景时候调用该函数.如果已经有一个场景运行情 ...

  8. 使用struct实现面向对象编程的封装

    虽然C是面向过程的语言,但是这不代表C不能使用面向对象的思想,本质上说语言只是一种手段而已,一种外在的表现形式,支持面向对象的语言只是通过设计的特定的关键字更好的表现了面向对象编程而已.C中也可以使用 ...

  9. NSTimer定时器类

    NSTimer是Cocoa中比较常用的定时器类,基本操作如下: handleTimer方法可以自行定义.在需要的地方创建timer即可,handleTimer就可以每0.5秒执行一次.   - (vo ...

  10. UITableView学习笔记

    //非原创 看TableView的资料其实已经蛮久了,一直想写点儿东西,却总是因为各种原因拖延,今天晚上有时间静下心来记录一些最近学习的TableView的知识.下面进入正题,UITableView堪 ...